/aosp_15_r20/external/cronet/third_party/rust/chromium_crates_io/vendor/serde_json-1.0.115/src/lexical/ |
H A D | rounding.rs | 64 pub(crate) fn round_nearest(fp: &mut ExtendedFloat, shift: i32) -> (bool, bool) { in round_nearest() 86 pub(crate) fn tie_even(fp: &mut ExtendedFloat, is_above: bool, is_halfway: bool) { in tie_even() 104 pub(crate) fn round_nearest_tie_even(fp: &mut ExtendedFloat, shift: i32) { in round_nearest_tie_even() 115 fn round_toward(fp: &mut ExtendedFloat, shift: i32) -> bool { in round_toward() 127 fn downard(_: &mut ExtendedFloat, _: bool) {} in downard() 134 pub(crate) fn round_downward(fp: &mut ExtendedFloat, shift: i32) { in round_downward() 149 pub(crate) fn round_to_float<F, Algorithm>(fp: &mut ExtendedFloat, algorithm: Algorithm) in round_to_float() 152 Algorithm: FnOnce(&mut ExtendedFloat, i32), in round_to_float() 218 pub(crate) fn round_to_native<F, Algorithm>(fp: &mut ExtendedFloat, algorithm: Algorithm) in round_to_native() 221 Algorithm: FnOnce(&mut ExtendedFloat, i32), in round_to_native()
|
H A D | float.rs | 14 pub(crate) struct ExtendedFloat { struct 21 impl ExtendedFloat { argument 36 pub(crate) fn mul(&self, b: &ExtendedFloat) -> ExtendedFloat { in mul() 66 pub(crate) fn imul(&mut self, b: &ExtendedFloat) { in imul() 109 Algorithm: FnOnce(&mut ExtendedFloat, i32), in round_to_native() 118 pub fn from_float<F: Float>(f: F) -> ExtendedFloat { in from_float()
|
H A D | cached.rs | 22 pub fn get_extended_float(&self, index: usize) -> ExtendedFloat { in get_extended_float() 54 pub fn get_small(&self, index: usize) -> ExtendedFloat { in get_small() 59 pub fn get_large(&self, index: usize) -> ExtendedFloat { in get_large() 77 impl ModeratePathCache for ExtendedFloat { implementation
|
H A D | shift.rs | 10 pub(crate) fn shr(fp: &mut ExtendedFloat, shift: i32) { in shr() 23 pub(crate) fn overflowing_shr(fp: &mut ExtendedFloat, shift: i32) { in overflowing_shr() 40 pub(crate) fn shl(fp: &mut ExtendedFloat, shift: i32) { in shl()
|
H A D | bhcomp.rs | 80 pub(super) fn b_extended<F: Float>(f: F) -> ExtendedFloat { in b_extended() 86 pub(super) fn bh_extended<F: Float>(f: F) -> ExtendedFloat { in bh_extended() 99 fn round_nearest_tie_even(fp: &mut ExtendedFloat, shift: i32, is_truncated: bool) { in round_nearest_tie_even()
|
H A D | algorithm.rs | 81 fn multiply_exponent_extended<F>(fp: &mut ExtendedFloat, exponent: i32, truncated: bool) -> bool in multiply_exponent_extended() 152 ) -> (ExtendedFloat, bool) in moderate_path()
|
/aosp_15_r20/external/cronet/third_party/rust/chromium_crates_io/vendor/serde_json_lenient-0.2.1/src/lexical/ |
H A D | rounding.rs | 64 pub(crate) fn round_nearest(fp: &mut ExtendedFloat, shift: i32) -> (bool, bool) { in round_nearest() 86 pub(crate) fn tie_even(fp: &mut ExtendedFloat, is_above: bool, is_halfway: bool) { in tie_even() 104 pub(crate) fn round_nearest_tie_even(fp: &mut ExtendedFloat, shift: i32) { in round_nearest_tie_even() 115 fn round_toward(fp: &mut ExtendedFloat, shift: i32) -> bool { in round_toward() 127 fn downard(_: &mut ExtendedFloat, _: bool) {} in downard() 134 pub(crate) fn round_downward(fp: &mut ExtendedFloat, shift: i32) { in round_downward() 149 pub(crate) fn round_to_float<F, Algorithm>(fp: &mut ExtendedFloat, algorithm: Algorithm) in round_to_float() 152 Algorithm: FnOnce(&mut ExtendedFloat, i32), in round_to_float() 218 pub(crate) fn round_to_native<F, Algorithm>(fp: &mut ExtendedFloat, algorithm: Algorithm) in round_to_native() 221 Algorithm: FnOnce(&mut ExtendedFloat, i32), in round_to_native()
|
H A D | float.rs | 14 pub(crate) struct ExtendedFloat { struct 21 impl ExtendedFloat { implementation 36 pub(crate) fn mul(&self, b: &ExtendedFloat) -> ExtendedFloat { in mul() 66 pub(crate) fn imul(&mut self, b: &ExtendedFloat) { in imul() 109 Algorithm: FnOnce(&mut ExtendedFloat, i32), in round_to_native() 118 pub fn from_float<F: Float>(f: F) -> ExtendedFloat { in from_float()
|
H A D | cached.rs | 22 pub fn get_extended_float(&self, index: usize) -> ExtendedFloat { in get_extended_float() 54 pub fn get_small(&self, index: usize) -> ExtendedFloat { in get_small() 59 pub fn get_large(&self, index: usize) -> ExtendedFloat { in get_large() 77 impl ModeratePathCache for ExtendedFloat { implementation
|
H A D | shift.rs | 10 pub(crate) fn shr(fp: &mut ExtendedFloat, shift: i32) { in shr() 23 pub(crate) fn overflowing_shr(fp: &mut ExtendedFloat, shift: i32) { in overflowing_shr() 40 pub(crate) fn shl(fp: &mut ExtendedFloat, shift: i32) { in shl()
|
H A D | bhcomp.rs | 80 pub(super) fn b_extended<F: Float>(f: F) -> ExtendedFloat { in b_extended() 86 pub(super) fn bh_extended<F: Float>(f: F) -> ExtendedFloat { in bh_extended() 99 fn round_nearest_tie_even(fp: &mut ExtendedFloat, shift: i32, is_truncated: bool) { in round_nearest_tie_even()
|
H A D | algorithm.rs | 81 fn multiply_exponent_extended<F>(fp: &mut ExtendedFloat, exponent: i32, truncated: bool) -> bool in multiply_exponent_extended() 152 ) -> (ExtendedFloat, bool) in moderate_path()
|
/aosp_15_r20/external/rust/android-crates-io/crates/serde_json/src/lexical/ |
D | rounding.rs | 64 pub(crate) fn round_nearest(fp: &mut ExtendedFloat, shift: i32) -> (bool, bool) { in round_nearest() 86 pub(crate) fn tie_even(fp: &mut ExtendedFloat, is_above: bool, is_halfway: bool) { in tie_even() 104 pub(crate) fn round_nearest_tie_even(fp: &mut ExtendedFloat, shift: i32) { in round_nearest_tie_even() 115 fn round_toward(fp: &mut ExtendedFloat, shift: i32) -> bool { in round_toward() 127 fn downard(_: &mut ExtendedFloat, _: bool) {} in downard() 134 pub(crate) fn round_downward(fp: &mut ExtendedFloat, shift: i32) { in round_downward() 149 pub(crate) fn round_to_float<F, Algorithm>(fp: &mut ExtendedFloat, algorithm: Algorithm) in round_to_float() 152 Algorithm: FnOnce(&mut ExtendedFloat, i32), in round_to_float() 218 pub(crate) fn round_to_native<F, Algorithm>(fp: &mut ExtendedFloat, algorithm: Algorithm) in round_to_native() 221 Algorithm: FnOnce(&mut ExtendedFloat, i32), in round_to_native()
|
D | float.rs | 14 pub(crate) struct ExtendedFloat { struct 21 impl ExtendedFloat { impl 36 pub(crate) fn mul(&self, b: &ExtendedFloat) -> ExtendedFloat { in mul() 66 pub(crate) fn imul(&mut self, b: &ExtendedFloat) { in imul() 109 Algorithm: FnOnce(&mut ExtendedFloat, i32), in round_to_native() 118 pub fn from_float<F: Float>(f: F) -> ExtendedFloat { in from_float()
|
D | cached.rs | 22 pub fn get_extended_float(&self, index: usize) -> ExtendedFloat { in get_extended_float() 54 pub fn get_small(&self, index: usize) -> ExtendedFloat { in get_small() 59 pub fn get_large(&self, index: usize) -> ExtendedFloat { in get_large() 77 impl ModeratePathCache for ExtendedFloat { implementation
|
D | shift.rs | 10 pub(crate) fn shr(fp: &mut ExtendedFloat, shift: i32) { in shr() 23 pub(crate) fn overflowing_shr(fp: &mut ExtendedFloat, shift: i32) { in overflowing_shr() 40 pub(crate) fn shl(fp: &mut ExtendedFloat, shift: i32) { in shl()
|
D | bhcomp.rs | 80 pub(super) fn b_extended<F: Float>(f: F) -> ExtendedFloat { in b_extended() 86 pub(super) fn bh_extended<F: Float>(f: F) -> ExtendedFloat { in bh_extended() 99 fn round_nearest_tie_even(fp: &mut ExtendedFloat, shift: i32, is_truncated: bool) { in round_nearest_tie_even()
|
D | algorithm.rs | 78 fn multiply_exponent_extended<F>(fp: &mut ExtendedFloat, exponent: i32, truncated: bool) -> bool in multiply_exponent_extended() 149 ) -> (ExtendedFloat, bool) in moderate_path()
|
/aosp_15_r20/external/cronet/third_party/rust/chromium_crates_io/vendor/serde_json-1.0.115/tests/lexical/ |
H A D | float.rs | 187 fn assert_normalized_eq(mut x: ExtendedFloat, mut y: ExtendedFloat) { in assert_normalized_eq() 474 fn check_mul(a: ExtendedFloat, b: ExtendedFloat, c: ExtendedFloat) { in check_mul() 527 fn check_imul(mut a: ExtendedFloat, b: ExtendedFloat, c: ExtendedFloat) { in check_imul()
|
/aosp_15_r20/external/rust/android-crates-io/crates/serde_json/tests/lexical/ |
D | float.rs | 187 fn assert_normalized_eq(mut x: ExtendedFloat, mut y: ExtendedFloat) { in assert_normalized_eq() 474 fn check_mul(a: ExtendedFloat, b: ExtendedFloat, c: ExtendedFloat) { in check_mul() 527 fn check_imul(mut a: ExtendedFloat, b: ExtendedFloat, c: ExtendedFloat) { in check_imul()
|
/aosp_15_r20/external/rust/android-crates-io/crates/minimal-lexical/src/ |
D | slow.rs | 38 fp: ExtendedFloat, in slow() 69 pub fn positive_digit_comp<F: Float>(mut bigmant: Bigint, exponent: i32) -> ExtendedFloat { in positive_digit_comp() 118 mut fp: ExtendedFloat, in negative_digit_comp() 120 ) -> ExtendedFloat { in negative_digit_comp() 388 pub fn b<F: Float>(float: F) -> ExtendedFloat { in b() 397 pub fn bh<F: Float>(float: F) -> ExtendedFloat { in bh()
|
D | rounding.rs | 17 pub fn round<F, Cb>(fp: &mut ExtendedFloat, cb: Cb) in round() 20 Cb: Fn(&mut ExtendedFloat, i32), in round() 77 pub fn round_nearest_tie_even<Cb>(fp: &mut ExtendedFloat, shift: i32, cb: Cb) in round_nearest_tie_even() 124 pub fn round_down(fp: &mut ExtendedFloat, shift: i32) { in round_down()
|
D | bellerophon.rs | 39 pub fn bellerophon<F: Float>(num: &Number) -> ExtendedFloat { in bellerophon() 314 pub fn mul(x: &ExtendedFloat, y: &ExtendedFloat) -> ExtendedFloat { in mul() 367 pub fn get_small(&self, index: usize) -> ExtendedFloat { in get_small() 377 pub fn get_large(&self, index: usize) -> ExtendedFloat { in get_large()
|
D | lemire.rs | 16 pub fn lemire<F: Float>(num: &Number) -> ExtendedFloat { in lemire() 48 pub fn compute_float<F: Float>(q: i32, mut w: u64) -> ExtendedFloat { in compute_float() 153 pub fn compute_error<F: Float>(q: i32, mut w: u64) -> ExtendedFloat { in compute_error() 162 pub fn compute_error_scaled<F: Float>(q: i32, mut w: u64, lz: i32) -> ExtendedFloat { in compute_error_scaled()
|
D | extended_float.rs | 11 pub struct ExtendedFloat { struct 18 /// Converts an `ExtendedFloat` to the closest machine float type. argument
|