diff options
| author | LemonBoy <thatlemon@gmail.com> | 2020-10-05 20:36:09 +0200 |
|---|---|---|
| committer | Andrew Kelley <andrew@ziglang.org> | 2020-10-05 22:16:26 -0400 |
| commit | dbc11be038ddb7b9a04535d069a9ee4001f91b51 (patch) | |
| tree | 58904c9ac86d9ba08dee741be1d58b0236ea6a23 /src/codegen.zig | |
| parent | 7f7e2d608adb81cd00e54fd7fe5e7035a890565f (diff) | |
| download | zig-dbc11be038ddb7b9a04535d069a9ee4001f91b51.tar.gz zig-dbc11be038ddb7b9a04535d069a9ee4001f91b51.zip | |
std: Fix two bugs in bigint pow
* Correctly scan all the exponent bits, this caused the incorrect result
to be computed for exponents being powers of two.
* Allocate enough limbs to make llmulacc stop whining.
Diffstat (limited to 'src/codegen.zig')
0 files changed, 0 insertions, 0 deletions
