Searched refs:fraction_digits (Results 1 – 4 of 4) sorted by relevance
44 pub(crate) fn mantissa_exponent(exponent: i32, fraction_digits: usize, truncated: usize) -> i32 { in mantissa_exponent()45 if fraction_digits > truncated { in mantissa_exponent()46 exponent.saturating_sub(into_i32(fraction_digits - truncated)) in mantissa_exponent()48 exponent.saturating_add(into_i32(truncated - fraction_digits)) in mantissa_exponent()
200 let fraction_digits = fraction.len(); in bhcomp() localVariable209 let count = F::MAX_DIGITS.min(integer_digits + fraction_digits - digits_start); in bhcomp()
188 int fraction_digits = current - previous; in FastFloatToBufferLeft() local189 int leading_zeros = kMaxFractionalDigits - fraction_digits; in FastFloatToBufferLeft()197 for (int i = 0; i < fraction_digits; i++) { in FastFloatToBufferLeft()
738 let fraction_digits = -exponent as usize; in parse_decimal_overflow() localVariable740 if let Some(zeros) = fraction_digits.checked_sub(significand.len() + 1) { in parse_decimal_overflow()744 let integer_end = self.scratch.len() - fraction_digits; in parse_decimal_overflow()