🔬This is a nightly-only experimental API. (flt2dec)
Expand description

Digit-generation algorithms.

Modules

dragonExperimental
Almost direct (but slightly optimized) Rust translation of Figure 3 of “Printing Floating-Point Numbers Quickly and Accurately”1.
grisuExperimental
Rust adaptation of the Grisu3 algorithm described in “Printing Floating-Point Numbers Quickly and Accurately with Integers”1. It uses about 1KB of precomputed table, and in turn, it’s very quick for most inputs.