Home
last modified time | relevance | path

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

/third_party/rust/crates/minimal-lexical/tests/
Dslow_tests.rs99 let bigmant = Bigint { in positive_digit_comp_test() localVariable
106 let result = slow::positive_digit_comp::<f64>(bigmant, exponent); in positive_digit_comp_test()
111 let bigmant = Bigint { in positive_digit_comp_test() localVariable
118 let result = slow::positive_digit_comp::<f64>(bigmant, exponent); in positive_digit_comp_test()
126 let bigmant = Bigint { in negative_digit_comp_test() localVariable
147 let result = slow::negative_digit_comp::<f64>(bigmant, fp, exponent); in negative_digit_comp_test()
152 let bigmant = Bigint { in negative_digit_comp_test() localVariable
169 let result = slow::negative_digit_comp::<f64>(bigmant, fp, exponent); in negative_digit_comp_test()
174 let bigmant = Bigint { in negative_digit_comp_test() localVariable
191 let result = slow::negative_digit_comp::<f64>(bigmant, fp, exponent); in negative_digit_comp_test()
[all …]
/third_party/rust/crates/minimal-lexical/src/
Dslow.rs59 let (bigmant, digits) = parse_mantissa(integer, fraction, F::MAX_DIGITS); in slow()
62 positive_digit_comp::<F>(bigmant, exponent) in slow()
64 negative_digit_comp::<F>(bigmant, fp, exponent) in slow()
69 pub fn positive_digit_comp<F: Float>(mut bigmant: Bigint, exponent: i32) -> ExtendedFloat { in positive_digit_comp()
74 bigmant.pow(10, exponent as u32).unwrap(); in positive_digit_comp()
79 let (mant, is_truncated) = bigmant.hi64(); in positive_digit_comp()
80 let exp = bigmant.bit_length() as i32 - 64 + F::EXPONENT_BIAS; in positive_digit_comp()
117 bigmant: Bigint, in negative_digit_comp()
126 let mut real_digits = bigmant; in negative_digit_comp()