Go to file
Trevor Spiteri a6cab63bb5 use typenum 2018-08-10 17:45:08 +02:00
src use typenum 2018-08-10 17:45:08 +02:00
.gitignore version 0.0.0 2018-08-09 20:02:34 +02:00
Cargo.toml use typenum 2018-08-10 17:45:08 +02:00
LICENSE-APACHE version 0.0.0 2018-08-09 20:02:34 +02:00
LICENSE-MIT version 0.0.0 2018-08-09 20:02:34 +02:00
README.md use typenum 2018-08-10 17:45:08 +02:00

README.md

Fixed-point numbers

Fixed provides fixed-point numbers. Currently it uses the typenum for the fractional bit count; it is planned to move to const generics when they are implemented by the Rust compiler.

Using Fixed

Fixed is available on crates.io. To use Fixed in your crate, add it as a dependency inside Cargo.toml:

[dependencies]
fixed = "0.0.1"

You also need to declare it by adding this to your crate root (usually lib.rs or main.rs):

extern crate fixed;

License

This crate is free software: you can redistribute it and/or modify it under the terms of either

at your option.

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.