Module std::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.

Functions

format_exact [Unstable]

The exact and fixed mode implementation for Dragon.

format_shortest [Unstable]

The shortest mode implementation for Dragon.

mul_pow10 [Unstable]