aboutsummaryrefslogtreecommitdiff
path: root/test/cases/compile_errors/integer_underflow_error.zig
diff options
context:
space:
mode:
authorMarc Tiehuis <marc@tiehu.is>2024-03-29 16:00:55 +1300
committerAndrew Kelley <andrew@ziglang.org>2024-03-29 22:15:17 -0700
commitaff71c6132fd17c6fa455a6e7b9f53567e3e55b2 (patch)
treea4f4c651a37fb0bfd56d82e7f11de8d1da6b536e /test/cases/compile_errors/integer_underflow_error.zig
parentfb9673f2081b6f29fe3979f07c3224b2e7be8010 (diff)
downloadzig-aff71c6132fd17c6fa455a6e7b9f53567e3e55b2.tar.gz
zig-aff71c6132fd17c6fa455a6e7b9f53567e3e55b2.zip
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.
Diffstat (limited to 'test/cases/compile_errors/integer_underflow_error.zig')
0 files changed, 0 insertions, 0 deletions