1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
#[derive(PartialEq, Eq)] pub struct AdjustedMantissa { pub mantissa: u64, pub power2: i32, } impl AdjustedMantissa { #[inline] pub const fn zero_pow2(power2: i32) -> Self { Self { mantissa: 0, power2, } } }