mirror of
https://codeberg.org/ziglang/zig
synced 2026-11-18 07:05:05 +00:00
There were two primary issues at play here:
1. The hex float prefix was not handled correctly when the stream was
reset for the fallback parsing path, which occured when the mantissa was
longer max mantissa digits.
2. The implied exponent was not adjusted for hex-floats in this branch.
Additionally, some of the float parsing routines have been condensed, making
use of comptime.
closes #20275
119 lines
3 KiB
119 lines
3 KiB