diff options
| author | Jacob Young <jacobly0@users.noreply.github.com> | 2025-02-13 16:25:41 -0500 |
|---|---|---|
| committer | Jacob Young <jacobly0@users.noreply.github.com> | 2025-02-15 03:45:21 -0500 |
| commit | f6bcc9dbcbd22083ce58c34179cb050abf3377fc (patch) | |
| tree | 81df291665031b43c73abb2fb2d17c941e9e637e /test/behavior/math.zig | |
| parent | 8c48376d64391aba5edd0e2c8219537554cf2819 (diff) | |
| download | zig-f6bcc9dbcbd22083ce58c34179cb050abf3377fc.tar.gz zig-f6bcc9dbcbd22083ce58c34179cb050abf3377fc.zip | |
x86_64: rewrite scalar and vector int `@rem`
Diffstat (limited to 'test/behavior/math.zig')
| -rw-r--r-- | test/behavior/math.zig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/behavior/math.zig b/test/behavior/math.zig index a658a0559c..735d3cdbc1 100644 --- a/test/behavior/math.zig +++ b/test/behavior/math.zig @@ -527,7 +527,7 @@ fn testIntDivision() !void { try expect(mod(i64, -14, 12) == 10); try expect(mod(i16, -2, 12) == 10); try expect(mod(i16, -118, 12) == 2); - try expect(mod(i8, -2, 12) == 10); // TODO: fails in x86_64 + try expect(mod(i8, -2, 12) == 10); try expect(rem(i64, -118, 12) == -10); try expect(rem(i32, 10, 12) == 10); |
