Home
last modified time | relevance | path

Searched refs:fraction_digits (Results 1 – 4 of 4) sorted by relevance

/external/rust/crates/serde_json/src/lexical/
Dexponent.rs44 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()
Dbhcomp.rs200 let fraction_digits = fraction.len(); in bhcomp() localVariable
209 let count = F::MAX_DIGITS.min(integer_digits + fraction_digits - digits_start); in bhcomp()
/external/tensorflow/tensorflow/lite/micro/
Dmicro_string.cc188 int fraction_digits = current - previous; in FastFloatToBufferLeft() local
189 int leading_zeros = kMaxFractionalDigits - fraction_digits; in FastFloatToBufferLeft()
197 for (int i = 0; i < fraction_digits; i++) { in FastFloatToBufferLeft()
/external/rust/crates/serde_json/src/
Dde.rs738 let fraction_digits = -exponent as usize; in parse_decimal_overflow() localVariable
740 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()