mirror of
https://codeberg.org/ziglang/zig.git
synced 2026-05-04 16:53:26 +03:00
17046674a7
- neg can only overflow, if a == MIN - case `-0` is properly handled by hardware, so overflow check by comparing `a == MIN` is sufficient - tests: MIN, MIN+1, MIN+4, -42, -7, -1, 0, 1, 7.. See #1290