float_eq-rs icon indicating copy to clipboard operation
float_eq-rs copied to clipboard

Compare IEEE floating point values for equality.

Results 6 float_eq-rs issues
Sort by recently updated
recently updated
newest added

Hi, this crate seems pretty cool. Was reading the docs and found that paragraph confusing. Tried to rephrase it to make it easier to understand. I also considered using point...

Rust 1.58 changed how floats output with `{:?}` are displayed. When they are larger or smaller than a specific threshold, then the output switches to scientific notation. This makes the...

Currently the custom `#[derive(...)]` implementation does not handle derivation over generic types. Deriving the `float_eq` traits over generics can get pretty messy (see the my_complex_generic test), so I'm leaving this...

The design principles of `float_eq` make enums difficult to implement the extension traits over, since as it stands all branches of the enum would need to be a floating point...

The various traits this crate provides should be implemented for Tuples. This should be easy, if tedious to do. My application is that I've written a sort of div_rem method...