mirror of
https://codeberg.org/ziglang/zig.git
synced 2026-06-14 04:34:02 -04:00
405ff911da
- abs can only overflow, if a == MIN - comparing the sign change from wrapping addition is branchless - tests: MIN, MIN+1,..MIN+4, -42, -7, -1, 0, 1, 7.. See #1290