Home
last modified time | relevance | path

Searched defs:ExtendedFloat (Results 1 – 25 of 44) sorted by relevance

12

/external/cronet/tot/third_party/rust/chromium_crates_io/vendor/serde_json_lenient-0.2.3/src/lexical/
Dfloat.rs14 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()
Drounding.rs64 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()
Dshift.rs10 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()
Dcached.rs22 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
/external/cronet/stable/third_party/rust/chromium_crates_io/vendor/serde_json-1.0.133/src/lexical/
Dfloat.rs14 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()
Drounding.rs64 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()
Dshift.rs10 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()
Dcached.rs22 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
/external/cronet/stable/third_party/rust/chromium_crates_io/vendor/serde_json_lenient-0.2.3/src/lexical/
Dfloat.rs14 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()
Drounding.rs64 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()
Dshift.rs10 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()
Dcached.rs22 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
/external/rust/android-crates-io/crates/serde_json/src/lexical/
Dfloat.rs14 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()
Drounding.rs64 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()
Dshift.rs10 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()
/external/cronet/tot/third_party/rust/chromium_crates_io/vendor/serde_json-1.0.133/src/lexical/
Dfloat.rs14 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()
Drounding.rs64 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()
Dshift.rs10 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()
/external/rust/android-crates-io/crates/minimal-lexical/src/
Dextended_float.rs11 pub struct ExtendedFloat { struct
18 /// Converts an `ExtendedFloat` to the closest machine float type. argument
Drounding.rs17 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()
Dslow.rs38 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()
Dlemire.rs16 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()
/external/cronet/tot/third_party/rust/chromium_crates_io/vendor/serde_json-1.0.133/tests/lexical/
Dfloat.rs187 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()
/external/rust/android-crates-io/crates/serde_json/tests/lexical/
Dfloat.rs187 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()
/external/cronet/stable/third_party/rust/chromium_crates_io/vendor/serde_json-1.0.133/tests/lexical/
Dfloat.rs187 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()

12