aboutsummaryrefslogtreecommitdiff
path: root/src/codegen.zig
diff options
context:
space:
mode:
authorLewis Gaul <lewis.gaul@gmail.com>2021-10-26 23:57:58 +0100
committerGitHub <noreply@github.com>2021-10-26 18:57:58 -0400
commitf890de62948a0134a8d703dd2f1ee37701ec4c00 (patch)
tree5151dadec62428299befc0d21f3f1464c4402d0a /src/codegen.zig
parentad5b90ab1092cb50b38e4a1e6bbed463a38ef7cf (diff)
downloadzig-f890de62948a0134a8d703dd2f1ee37701ec4c00.tar.gz
zig-f890de62948a0134a8d703dd2f1ee37701ec4c00.zip
Fix bug in exp2() (#9999)
* Fix bug in exp2_64 to handle negative values (bad translation from C) * Apply fix to exp2_32() as well, and modify comment on musl behaviour * Use +%= instead of @addWithOverflow()
Diffstat (limited to 'src/codegen.zig')
0 files changed, 0 insertions, 0 deletions