Ryū: fast float-to-string conversion

Ulf Adams
2018
2 references

Abstract

We present Ryū, a new routine to convert binary floating point numbers to their decimal representations using only fixed-size integer operations, and prove its correctness. Ryū is simpler and approximately three times faster than the previously fastest implementation.

2 repositories
2 references

Code References

gcc-mirror/gcc
1 file
libgo/go/strconv/ftoaryu.go
1
// See Ulf Adams, "Ryū: Fast Float-to-String Conversion" (doi:10.1145/3192366.3192369)
swiftlang/swift
1 file
stdlib/public/core/FloatingPointToString.swift
1
/// https://doi.org/10.1145/3296979.3192369
Link copied to clipboard!