Function core::num::dec2flt::algorithm::round_by_remainder
[−]
[src]
fn round_by_remainder<T: RawFloat>(v: Big, r: Big, q: u64, z: T) -> T
Unstable (
dec2flt
): internal routines only exposed for testing
Ordinary round-to-even, obfuscated by having to round based on the remainder of a division.