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

Implement traits for Tuples

Open fpdotmonkey opened this issue 3 months ago • 0 comments

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 for a type that returns the quotient and remainder as (T, Option<T>) where T: FloatEqAll, but I can't use float_eq stuff with that output easily since FloatEqAll isn't implemented for tuples.

fpdotmonkey avatar Nov 07 '25 12:11 fpdotmonkey