Searched defs:ExtendedFloat (Results 1 – 7 of 7) sorted by relevance
/external/rust/crates/serde_json/src/lexical/ |
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()
|
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 | 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 | 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 | 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()
|
D | errors.rs | 26 fn nearest_error_is_accurate(errors: u64, fp: &ExtendedFloat, extrabits: u64) -> bool { in nearest_error_is_accurate()
|