zig/lib/std/math/big
Ian Johnson 3543f28320 std.math.big.int: fix shiftRight sign handling
Closes #21311

The sign of the result `r` needs to be initialized before the correction
`r.addScalar(r.toConst(), -1)`, or the intended end result could be off
by 2 (depending on the original sign of `r`).
2024-09-06 10:36:12 -07:00
..
int_test.zig std.math.big.int: fix shiftRight sign handling 2024-09-06 10:36:12 -07:00
int.zig std.math.big.int: fix shiftRight sign handling 2024-09-06 10:36:12 -07:00
rational.zig std: update std.builtin.Type fields to follow naming conventions 2024-08-28 08:39:59 +01:00