diff options
| author | Andrew Kelley <andrew@ziglang.org> | 2022-01-30 17:23:14 -0700 |
|---|---|---|
| committer | Andrew Kelley <andrew@ziglang.org> | 2022-02-06 19:27:54 -0700 |
| commit | 287ff4ab58f8af70383b6e334c7c862c8b8fbeec (patch) | |
| tree | 6c4e9281e86886fe58075e78dd332b74cf640e7d /test | |
| parent | fd1284ebd07ded1c67bbaff4c14f093051e56f59 (diff) | |
| download | zig-287ff4ab58f8af70383b6e334c7c862c8b8fbeec.tar.gz zig-287ff4ab58f8af70383b6e334c7c862c8b8fbeec.zip | |
stage2: add more float arithmetic and f80 support
AstGen: Fixed bug where f80 types in source were triggering illegal
behavior.
Value: handle f80 in floating point arithmetic functions.
Value: implement floatRem and floatMod
This commit introduces dependencies on compiler-rt that are not
implemented. Those are a prerequisite to merging this branch.
Diffstat (limited to 'test')
| -rw-r--r-- | test/behavior/math.zig | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/test/behavior/math.zig b/test/behavior/math.zig index 8f947e2829..a1243eb7c1 100644 --- a/test/behavior/math.zig +++ b/test/behavior/math.zig @@ -768,8 +768,6 @@ test "shift left/right on u0 operand" { } test "comptime float rem int" { - if (builtin.zig_backend != .stage1) return error.SkipZigTest; // TODO - comptime { var x = @as(f32, 1) % 2; try expect(x == 1.0); |
