Module core::num::flt2dec::strategy::dragon
[−]
[src]
Unstable (
flt2dec
): internal routines only exposed for testing
Almost direct (but slightly optimized) Rust translation of Figure 3 of [1].
[1] Burger, R. G. and Dybvig, R. K. 1996. Printing floating-point numbers quickly and accurately. SIGPLAN Not. 31, 5 (May. 1996), 108-116.
Reexports
use prelude::v1::*; |
use cmp::Ordering; |
use num::flt2dec::{Decoded, MAX_SIG_DIGITS, round_up}; |
use num::flt2dec::estimator::estimate_scaling_factor; |
use num::bignum::Digit32 as Digit; |
use num::bignum::Big32x40 as Big; |
Statics
POW10 | [Unstable] |
POW10TO128 | [Unstable] |
POW10TO16 | [Unstable] |
POW10TO256 | [Unstable] |
POW10TO32 | [Unstable] |
POW10TO64 | [Unstable] |
TWOPOW10 | [Unstable] |
Functions
div_2pow10 | [Unstable] |
div_rem_upto_16 | [Unstable] |
format_exact |
[Unstable] The exact and fixed mode implementation for Dragon. |
format_shortest |
[Unstable] The shortest mode implementation for Dragon. |
mul_pow10 | [Unstable] |