| ... | @@ -1,3 +1,4 @@ | ... | @@ -1,3 +1,4 @@ |
| | 1 | const builtin = @import("builtin"); |
| 1 | const expect = @import("std").testing.expect; | 2 | const expect = @import("std").testing.expect; |
| 2 | | 3 | |
| 3 | test "@mulAdd" { | 4 | test "@mulAdd" { |
| ... | @@ -24,6 +25,10 @@ fn testMulAdd() !void { | ... | @@ -24,6 +25,10 @@ fn testMulAdd() !void { |
| 24 | var c: f64 = 6.25; | 25 | var c: f64 = 6.25; |
| 25 | try expect(@mulAdd(f64, a, b, c) == 20); | 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 | var a: f16 = 5.5; | 33 | var a: f16 = 5.5; |
| 29 | var b: f128 = 2.5; | 34 | var b: f128 = 2.5; |