diff options
| author | Jacob Young <jacobly0@users.noreply.github.com> | 2025-03-11 08:56:45 -0400 |
|---|---|---|
| committer | Jacob Young <jacobly0@users.noreply.github.com> | 2025-03-21 21:51:08 -0400 |
| commit | ed284c1f98ae08a36a7ef0776e22a4cfb2527fee (patch) | |
| tree | a8615a86badb18c304182fdb90f4ffd8065b2c80 /src/Sema.zig | |
| parent | 9c9d3931df4c1decffec610e5e47b3049b147c8d (diff) | |
| download | zig-ed284c1f98ae08a36a7ef0776e22a4cfb2527fee.tar.gz zig-ed284c1f98ae08a36a7ef0776e22a4cfb2527fee.zip | |
big.int: fix yet another truncate bug
Too many bugs have been found with `truncate` at this point, so it was
rewritten from scratch.
Based on the doc comment, the utility of `convertToTwosComplement` over
`r.truncate(a, .unsigned, bit_count)` is unclear and it has a subtle
behavior difference that is almost certainly a bug, so it was deleted.
Diffstat (limited to 'src/Sema.zig')
0 files changed, 0 insertions, 0 deletions
