Module core::num::dec2flt::decimal

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

Arbitrary-precision decimal class for 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

Functions