#float #traits #generic

floaty

A trait that abstracts over the common functionality of f32 and f64

1 unstable release

Uses old Rust 2015

0.1.0 Feb 7, 2016

#85 in #trait

44 downloads per month

MIT/Apache

9KB
242 lines

Travis

Floaty

A trait that abstracts over the common functionality of f32 and f64

Docs

License

Licensed under either of

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.


lib.rs:

A trait that abstracts over the common functionality of f32 and f64

The Floaty trait provided in this crate is similar to the deprecated std::num::Float, but contains more information about cast operations.

Dependencies

~28KB