Module dragon

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

Almost direct (but slightly optimized) Rust translation of Figure 3 of “Printing Floating-Point Numbers Quickly and Accurately”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. 

Statics§

POW5TO16 🔒 Experimental
POW5TO32 🔒 Experimental
POW5TO64 🔒 Experimental
POW5TO128 🔒 Experimental
POW5TO256 🔒 Experimental
POW10 🔒 Experimental

Functions§

div_2pow10 🔒 Experimental
div_rem_upto_16 🔒 Experimental
format_exactExperimental
The exact and fixed mode implementation for Dragon.
format_shortestExperimental
The shortest mode implementation for Dragon.
mul_pow10 👻 Experimental