diff options
| author | Andrew Kelley <andrew@ziglang.org> | 2022-03-06 16:18:51 -0700 |
|---|---|---|
| committer | Andrew Kelley <andrew@ziglang.org> | 2022-03-06 16:18:51 -0700 |
| commit | 488eb8ac291adc0b6f48782edc64f9ea8e6723bb (patch) | |
| tree | ed51e75da107213713af623fede4668a6adfdf3f /test | |
| parent | c52d437224fcf126acf99868c86baae724915a60 (diff) | |
| download | zig-488eb8ac291adc0b6f48782edc64f9ea8e6723bb.tar.gz zig-488eb8ac291adc0b6f48782edc64f9ea8e6723bb.zip | |
disable failing `@mulAdd` test
Diffstat (limited to 'test')
| -rw-r--r-- | test/behavior/muladd.zig | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/test/behavior/muladd.zig b/test/behavior/muladd.zig index 53ab6b64ec..cc7ad15184 100644 --- a/test/behavior/muladd.zig +++ b/test/behavior/muladd.zig @@ -47,7 +47,7 @@ fn testMulAdd80() !void { var a: f16 = 5.5; var b: f80 = 2.5; var c: f80 = 6.25; - try expect(@mulAdd(f80, a, b, c) == 20.0); + try expect(@mulAdd(f80, a, b, c) == 20); } test "@mulAdd f128" { @@ -62,6 +62,12 @@ test "@mulAdd f128" { return error.SkipZigTest; } + if (builtin.zig_backend == .stage1 and + builtin.cpu.arch == .i386 and builtin.os.tag == .linux) + { + return error.SkipZigTest; + } + comptime try testMulAdd128(); try testMulAdd128(); } |
