Module core::num::flt2dec::strategy::grisu

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

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.


  1. Florian Loitsch. 2010. Printing floating-point numbers quickly and accurately with integers. SIGPLAN Not. 45, 6 (June 2010), 233-243. 

Constants

Statics

Functions