aboutsummaryrefslogtreecommitdiff
path: root/src/codegen/spirv
diff options
context:
space:
mode:
authorMarc Tiehuis <marc@tiehu.is>2024-06-14 13:09:55 +1200
committerIsaac Freund <mail@isaacfreund.com>2024-06-15 18:23:06 +0200
commit1b728e1834672848b12d10dd992b34141a38fc05 (patch)
tree11bd57e9184c281e73aa6398c82bb5d4d577e2ad /src/codegen/spirv
parentffb1a6d9a75a7c8804c0e9db0e23ac54265f447c (diff)
downloadzig-1b728e1834672848b12d10dd992b34141a38fc05.tar.gz
zig-1b728e1834672848b12d10dd992b34141a38fc05.zip
std.float.parseFloat: fix large hex-float parsing
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
Diffstat (limited to 'src/codegen/spirv')
0 files changed, 0 insertions, 0 deletions