diff options
| author | Lewis Gaul <lewis.gaul@gmail.com> | 2021-10-26 23:57:58 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-10-26 18:57:58 -0400 |
| commit | f890de62948a0134a8d703dd2f1ee37701ec4c00 (patch) | |
| tree | 5151dadec62428299befc0d21f3f1464c4402d0a /src/codegen | |
| parent | ad5b90ab1092cb50b38e4a1e6bbed463a38ef7cf (diff) | |
| download | zig-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')
0 files changed, 0 insertions, 0 deletions
