Searched refs:MANTISSA_SIZE (Results 1 – 6 of 6) sorted by relevance
67 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()
77 const MANTISSA_SIZE: i32; constant95 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; constant211 const EXPONENT_BIAS: i32 = 127 + Self::MANTISSA_SIZE;258 const MANTISSA_SIZE: i32 = 52; constant259 const EXPONENT_BIAS: i32 = 1023 + Self::MANTISSA_SIZE;
187 let mantissa_shift = 64 - F::MANTISSA_SIZE - 1; in error_is_accurate()197 false => 64 - F::MANTISSA_SIZE - 1, in error_is_accurate()
22 word |= (x.exp as u64) << F::MANTISSA_SIZE; in extended_to_float()
28 let mantissa_shift = 64 - F::MANTISSA_SIZE - 1; in round()
82 biased_e = np.int32(exp_bits >> int_type(self.MANTISSA_SIZE))102 MANTISSA_SIZE = np.int32(23) variable in Float32103 EXPONENT_BIAS = np.int32(127 + MANTISSA_SIZE)116 MANTISSA_SIZE = np.int32(52) variable in Float64117 EXPONENT_BIAS = np.int32(1023 + MANTISSA_SIZE)