Skip to content

Commit 124e188

Browse files
committed
implement ryu 64-bit backend
The 64-bit backend supports printing all floats up to 64-bits. The 128-bit continues to be used for larger values. This backend is approximately ~3x faster. Code size is a little smaller in the full table case and much smaller if using the samll tables. The implementation uses the same code-paths, parameterized by a set of tables and their pow5 implementations. We continue to use the same rounding/formatting mechanisms. Initially I explored a separate implementation, as upstream does this and has specific optimizations for these paths but for simplicity we don't. The performance loss is small enough at this point and keeping them combined keeps them in sync. Closes #19264.
1 parent 3661133 commit 124e188

File tree

1 file changed

+651
-97
lines changed

1 file changed

+651
-97
lines changed

0 commit comments

Comments
 (0)