aboutsummaryrefslogtreecommitdiff
path: root/std/buffer.zig
diff options
context:
space:
mode:
authorMarc Tiehuis <marctiehuis@gmail.com>2019-05-20 17:28:17 +1200
committerMarc Tiehuis <marctiehuis@gmail.com>2019-05-20 17:28:17 +1200
commit163a8e98bc04ea955ee54d5905436ffac34c93a2 (patch)
tree693a8924d1d910ddeb3906e3ea49824e58e08f50 /std/buffer.zig
parent1c73c08298fc3a19886038d935e45cf74ba152fb (diff)
downloadzig-163a8e98bc04ea955ee54d5905436ffac34c93a2.tar.gz
zig-163a8e98bc04ea955ee54d5905436ffac34c93a2.zip
std.fmt.parse_float: Fix exponent calculation
This was incorrectly translated as a u64. binary_exponent is an unadjusted value so can be negative. In becomes unconditionally positive when adding the bias.
Diffstat (limited to 'std/buffer.zig')
0 files changed, 0 insertions, 0 deletions