Open tyilo opened 1 month ago
My project currently uses both num_traits::FloatCore and the funty::Floating traits, as neither have all the functionality that I need.
num_traits::FloatCore
funty::Floating
I would like to drop the funty dependency, but this requires the following missing items:
funty
pub trait Float { const MANTISSA_DIGITS: u32; type Bits: One + WrappingAdd + WrappingSub + LowerHex; // Probably need a better bound fn to_bits(self) -> Self::Bits; fn from_bits(bits: Self::Bits) -> Self; }
My project currently uses both
num_traits::FloatCore
and thefunty::Floating
traits, as neither have all the functionality that I need.I would like to drop the
funty
dependency, but this requires the following missing items: