pub struct BiasedFp {
pub f: u64,
pub e: i32,
}
🔬This is a nightly-only experimental API. (
dec2flt
)Expand description
A custom 64-bit floating point type, representing f * 2^e
.
e is biased, so it be directly shifted into the exponent bits.
Fields§
§f: u64
🔬This is a nightly-only experimental API. (
dec2flt
)The significant digits.
e: i32
🔬This is a nightly-only experimental API. (
dec2flt
)The biased, binary exponent.
Implementations§
Trait Implementations§
source§impl PartialEq<BiasedFp> for BiasedFp
impl PartialEq<BiasedFp> for BiasedFp
impl Copy for BiasedFp
impl StructuralEq for BiasedFp
impl StructuralPartialEq for BiasedFp
Auto Trait Implementations§
impl Freeze for BiasedFp
impl RefUnwindSafe for BiasedFp
impl Send for BiasedFp
impl Sync for BiasedFp
impl Unpin for BiasedFp
impl UnwindSafe for BiasedFp
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more