Repository navigation
v0.3.1
Changed
This release is mostly focused on fix: #34.
Converting decimal numbers to floating point IEEE 754 was completely redesigned.
Implementation is based on LLVM’s libc experience: https://llvm.org/devmtg/2022-11/slides/QuickTalk3-ApproximatingatScale-StringToFloat.pdf
Algorithms:
- First pass: Clinger’s Fast Path: Clinger WD. How to Read Floating Point Numbers Accurately.
- Second Pass: Eisel-Lemire fast_float: Number Parsing at a Gigabyte per Second and Noble Mushtak, Daniel Lemire. Fast number parsing without fallback.
- Third Pass: Simple Decimal Conversion Nigel Tao’s description of the Simple Decimal Conversion algorithm.
Documentation
- Add decimal -> f64 conversion benchmarks.