diff options
Diffstat (limited to 'test/behavior/floatop.zig')
| -rw-r--r-- | test/behavior/floatop.zig | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/test/behavior/floatop.zig b/test/behavior/floatop.zig index c02c1c15c4..536c365655 100644 --- a/test/behavior/floatop.zig +++ b/test/behavior/floatop.zig @@ -667,24 +667,11 @@ fn fnWithFloatMode() f32 { } test "float literal at compile time not lossy" { - if (builtin.zig_backend != .stage1) { - // https://github.com/ziglang/zig/issues/11169 - return error.SkipZigTest; - } - try expect(16777216.0 + 1.0 == 16777217.0); try expect(9007199254740992.0 + 1.0 == 9007199254740993.0); } test "f128 at compile time is lossy" { - if (builtin.zig_backend != .stage1) { - // this one is happening because we represent comptime-known f128 integers with - // Value.Tag.bigint and only convert to f128 representation if it stops being an - // integer. Is this something we want? need to have a lang spec discussion on this - // topic. - return error.SkipZigTest; // TODO - } - try expect(@as(f128, 10384593717069655257060992658440192.0) + 1 == 10384593717069655257060992658440192.0); } |
