4 ms·
I wonder if any C standard libraries have implemented this.
by kristianp 12y ago
I wonder if any C standard libraries have implemented this.
- jwmerrill 12y agoI understand that v8 is using this algorithm, and Julia also now uses it thanks to work by Jacob Quinn https://github.com/JuliaLang/julia/tree/master/base/grisu https://github.com/JuliaLang/julia/tree/master/base/grisu
- sanxiyn 12y agoRust also now uses this algorithm, thanks to Kang Seonghoon: https://github.com/rust-lang/rust/tree/master/src/libcore/num/flt2dec https://github.com/rust-lang/rust/tree/master/src/libcore/nu... Rust implementation is heavily commented with beautiful ASCII diagrams.