jtempest / float_eq-rs

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

FloatEq impls over slices #13

Closed jtempest closed 4 years ago

jtempest commented 4 years ago

There are now FloatEqAll implementations for the *_all checks over slices, but the FloatEq checks are missing. This is because the current trait specification requires that the Epsilon type be something along the lines of [A::Epsilon], which results in errors about the type not being tagged as Sized. Assuming it is possible to implement structured epsilon checks at all, this will need to be solved in terms of defining the impls, or the traits may need to change to accommodate it.

jtempest commented 4 years ago

Full slice trait impls now in, commit: https://github.com/jtempest/float_eq-rs/commit/1ce78adc5f6e7a776218e93766f2d150c8a770a2