const_fixedp

Crates.ioconst_fixedp
lib.rsconst_fixedp
version0.1.1
sourcesrc
created_at2021-08-08 17:49:56.828786
updated_at2021-08-08 21:26:05.851133
descriptionA const type for fixed point arithmetic
homepage
repositoryhttps://github.com/unleashed/const_fixedp
max_upload_size
id433268
size65,093
Alejandro Martinez Ruiz (unleashed)

documentation

https://docs.rs/const_fixedp

README

const_fixedp

docs.rs codecov.io Build Status Security audit Licensing Clippy check Rustfmt

This crate offers a basic const unsigned fixed point arithmetic type.

Please check out the documentation for examples.

Status

This library is currently experimental. At this stage it is meant to explore const-related features of rustc. If you are looking for a complete fixed point solution you should look elsewhere in crates.io, but if you are willing to contribute towards a better, more complete const-powered fixed point library, then you are more than welcome!

Please report any issues at the issue tracker.

MSRV

Many features that we'd wish to have available on stable Rust haven't stabilised or landed yet. The crate itself is pretty much experimental, so there is no MSRV policy other than "always run the latest stable version".

Nightly compilers

It's fair game to play with nightly compiler versions implementing unstable features as long as the crate works as intended on the latest stable version.

Contributing

Contributions are very much appreciated. This crate started out as an experiment with generic const type parameters but ended up being potentially interesting to others.

There are certain shortcomings, incomplete features, improvements to be done after Rust lands support, and other tasks that anyone can do to improve the usefulness of such a const fixed point library.

Please fork and submit pull requests!

Commit count: 21

cargo fmt