Home
last modified time | relevance | path

Searched refs:binary_exp (Results 1 – 2 of 2) sorted by relevance

/external/rust/crates/serde_json/src/lexical/
Dbhcomp.rs165 let binary_exp = theor_exp - real_exp; in small_atof() localVariable
176 if binary_exp > 0 { in small_atof()
177 theor_digits.imul_pow2(binary_exp as u32); in small_atof()
178 } else if binary_exp < 0 { in small_atof()
179 real_digits.imul_pow2(-binary_exp as u32); in small_atof()
/external/rust/crates/minimal-lexical/src/
Dslow.rs155 let binary_exp = theor_exp - real_exp; in negative_digit_comp() localVariable
160 if binary_exp > 0 { in negative_digit_comp()
161 theor_digits.pow(2, binary_exp as u32).unwrap(); in negative_digit_comp()
162 } else if binary_exp < 0 { in negative_digit_comp()
163 real_digits.pow(2, (-binary_exp) as u32).unwrap(); in negative_digit_comp()