Home
last modified time | relevance | path

Searched refs:MANTISSA_SIZE (Results 1 – 6 of 6) sorted by relevance

/third_party/rust/crates/minimal-lexical/src/
Dlemire.rs67 let (lo, hi) = compute_product_approx(q, w, F::MANTISSA_SIZE as usize + 3); in compute_float()
90 let mut mantissa = hi >> (upperbit + 64 - F::MANTISSA_SIZE - 3); in compute_float()
101 power2 = (mantissa >= (1_u64 << F::MANTISSA_SIZE)) as i32; in compute_float()
122 && (mantissa << (upperbit + 64 - F::MANTISSA_SIZE - 3)) == hi in compute_float()
130 if mantissa >= (2_u64 << F::MANTISSA_SIZE) { in compute_float()
134 mantissa = 1_u64 << F::MANTISSA_SIZE; in compute_float()
138 mantissa &= !(1_u64 << F::MANTISSA_SIZE); in compute_float()
156 let hi = compute_product_approx(q, w, F::MANTISSA_SIZE as usize + 3).1; in compute_error()
Dnum.rs77 const MANTISSA_SIZE: i32; constant
95 const MAX_MANTISSA_FAST_PATH: u64 = 2_u64 << Self::MANTISSA_SIZE;
187 let biased_e: i32 = ((bits & Self::EXPONENT_MASK) >> Self::MANTISSA_SIZE) as i32; in exponent()
210 const MANTISSA_SIZE: i32 = 23; constant
211 const EXPONENT_BIAS: i32 = 127 + Self::MANTISSA_SIZE;
258 const MANTISSA_SIZE: i32 = 52; constant
259 const EXPONENT_BIAS: i32 = 1023 + Self::MANTISSA_SIZE;
Dbellerophon.rs187 let mantissa_shift = 64 - F::MANTISSA_SIZE - 1; in error_is_accurate()
197 false => 64 - F::MANTISSA_SIZE - 1, in error_is_accurate()
Dextended_float.rs22 word |= (x.exp as u64) << F::MANTISSA_SIZE; in extended_to_float()
Drounding.rs28 let mantissa_shift = 64 - F::MANTISSA_SIZE - 1; in round()
/third_party/rust/crates/minimal-lexical/etc/correctness/test-parse-unittests/
Dto_toml.py82 biased_e = np.int32(exp_bits >> int_type(self.MANTISSA_SIZE))
102 MANTISSA_SIZE = np.int32(23) variable in Float32
103 EXPONENT_BIAS = np.int32(127 + MANTISSA_SIZE)
116 MANTISSA_SIZE = np.int32(52) variable in Float64
117 EXPONENT_BIAS = np.int32(1023 + MANTISSA_SIZE)