🔬This is a nightly-only experimental API. (
dec2flt
)Expand description
Arbitrary-precision decimal type used by fallback algorithms.
This is only used if the fast-path (native floats) and the Eisel-Lemire algorithm are unable to unambiguously determine the float.
The technique used is “Simple Decimal Conversion”, developed by Nigel Tao and Ken Thompson. A detailed description of the algorithm can be found in “ParseNumberF64 by Simple Decimal Conversion”, available online: https://nigeltao.github.io/blog/2020/parse-number-f64-simple.html.
Structs§
- Decimal
Seq Experimental - A decimal floating-point number, represented as a sequence of decimal digits.
Functions§
- number_
of_ đź”’digits_ decimal_ left_ shift Experimental - parse_
decimal_ seq Experimental - Parse a big integer representation of the float as a decimal.