Struct lexical_util::extended_float::ExtendedFloat [−][src]
pub struct ExtendedFloat<M: UnsignedInteger> {
pub mant: M,
pub exp: i32,
}
Expand description
Extended precision floating-point type.
This doesn’t have any methods because it’s used for very different things for the Lemire, Bellepheron, and other algorithms. In Grisu, it’s an unbiased representation, for Lemire, it’s a biased representation.
Fields
mant: M
Mantissa for the extended-precision float.
exp: i32
Binary exponent for the extended-precision float.
Implementations
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl<M> RefUnwindSafe for ExtendedFloat<M> where
M: RefUnwindSafe,
impl<M> Send for ExtendedFloat<M>
impl<M> Sync for ExtendedFloat<M>
impl<M> Unpin for ExtendedFloat<M> where
M: Unpin,
impl<M> UnwindSafe for ExtendedFloat<M> where
M: UnwindSafe,
Blanket Implementations
Mutably borrows from an owned value. Read more