How to use general zero and one for f32 and f64?


Trait Float has disappeared. How to use any float constants now?


The old num-stuff has moved to its own crate:


Use default-features = false like this with num if you just need the traits. It’s a very small dependency that way.

For example:

version = "0.1"
default-features = false