| ... | ... | @@ -1,3 +1,4 @@ |
| 1 | const builtin = @import("builtin"); |
| 1 | 2 | const expect = @import("std").testing.expect; |
| 2 | 3 | |
| 3 | 4 | test "@mulAdd" { |
| ... | ... | @@ -24,6 +25,10 @@ fn testMulAdd() !void { |
| 24 | 25 | var c: f64 = 6.25; |
| 25 | 26 | try expect(@mulAdd(f64, a, b, c) == 20); |
| 26 | 27 | } |
| 28 | if (builtin.os.tag == .macos and builtin.cpu.arch == .aarch64) { |
| 29 | // https://github.com/ziglang/zig/issues/9900 |
| 30 | return error.SkipZigTest; |
| 31 | } |
| 27 | 32 | { |
| 28 | 33 | var a: f16 = 5.5; |
| 29 | 34 | var b: f128 = 2.5; |