Module core::num::flt2dec::strategy

source ·
🔬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”.
  • grisuExperimental
    Rust adaptation of the Grisu3 algorithm described in “Printing Floating-Point Numbers Quickly and Accurately with Integers”. It uses about 1KB of precomputed table, and in turn, it’s very quick for most inputs.