jtempest / float_eq-rs

Compare IEEE floating point values for equality.
Other
39 stars 6 forks source link

Deriving extension traits over generic types #19

Open jtempest opened 4 years ago

jtempest commented 4 years ago

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 issue here in case anyone fancies trying to tackle this in future.