⚡ float-derive
A crate that allows deriving Eq and Hash for types that contain floats 🦀
[]
= "0.1.0"
This crate allows to derive Eq
and Hash
for traits that contain floating points by explicitly comparing floating points such that: NAN == NAN is true.
How to use
use ;
Credits
- ordered-float for offering explicit float equality.