| ... | @@ -3987,7 +3987,7 @@ pub const Value = extern union { | ... | @@ -3987,7 +3987,7 @@ pub const Value = extern union { |
| 3987 | const shift = @intCast(usize, rhs.toUnsignedInt(target)); | 3987 | const shift = @intCast(usize, rhs.toUnsignedInt(target)); |
| 3988 | const limbs = try arena.alloc( | 3988 | const limbs = try arena.alloc( |
| 3989 | std.math.big.Limb, | 3989 | std.math.big.Limb, |
| 3990 | std.math.big.int.calcTwosCompLimbCount(info.bits), | 3990 | std.math.big.int.calcTwosCompLimbCount(info.bits) + 1, |
| 3991 | ); | 3991 | ); |
| 3992 | var result_bigint = BigIntMutable{ | 3992 | var result_bigint = BigIntMutable{ |
| 3993 | .limbs = limbs, | 3993 | .limbs = limbs, |