Tue, 24 Feb 2026 09:44:53 -0500
Add LowerExp to Float trait bounds
| src/types.rs | file | annotate | diff | comparison | revisions |
--- a/src/types.rs Thu Jan 15 16:12:47 2026 -0500 +++ b/src/types.rs Tue Feb 24 09:44:53 2026 -0500 @@ -97,7 +97,7 @@ impl<U: Num + num::Signed + std::ops::Neg<Output = Self>> SignedNum for U {} /// Trait for floating point numbers -pub trait Float: SignedNum + num::Float /*+ From<Self::CompatibleSize>*/ { +pub trait Float: SignedNum + std::fmt::LowerExp + num::Float /*+ From<Self::CompatibleSize>*/ { // An unsigned integer that can be used for indexing operations and // converted to F without loss. //type CompatibleSize : CompatibleUnsigned<Self>;