commit f035437b5dcd054d136f5e823979afb583c40f59 (tree)
parent b8c587eb4068d2fec5303641b7960d1ab885864b
Author: Cody Tapscott <topolarity@tapscott.me>
Date: Thu, 13 Oct 2022 11:31:21 -0700
Re-enable Vector f16 tests on Windows
Closes #4952
Diffstat:
1 file changed, 2 insertions(+), 8 deletions(-)
diff --git a/test/behavior/vector.zig b/test/behavior/vector.zig
@@ -506,18 +506,12 @@ test "vector division operators" {
}
fn doTheTest() !void {
- // https://github.com/ziglang/zig/issues/4952
- if (builtin.target.os.tag != .windows) {
- try doTheTestDiv(f16, [4]f16{ 4.0, -4.0, 4.0, -4.0 }, [4]f16{ 1.0, 2.0, -1.0, -2.0 });
- }
+ try doTheTestDiv(f16, [4]f16{ 4.0, -4.0, 4.0, -4.0 }, [4]f16{ 1.0, 2.0, -1.0, -2.0 });
try doTheTestDiv(f32, [4]f32{ 4.0, -4.0, 4.0, -4.0 }, [4]f32{ 1.0, 2.0, -1.0, -2.0 });
try doTheTestDiv(f64, [4]f64{ 4.0, -4.0, 4.0, -4.0 }, [4]f64{ 1.0, 2.0, -1.0, -2.0 });
- // https://github.com/ziglang/zig/issues/4952
- if (builtin.target.os.tag != .windows) {
- try doTheTestMod(f16, [4]f16{ 4.0, -4.0, 4.0, -4.0 }, [4]f16{ 1.0, 2.0, 0.5, 3.0 });
- }
+ try doTheTestMod(f16, [4]f16{ 4.0, -4.0, 4.0, -4.0 }, [4]f16{ 1.0, 2.0, 0.5, 3.0 });
try doTheTestMod(f32, [4]f32{ 4.0, -4.0, 4.0, -4.0 }, [4]f32{ 1.0, 2.0, 0.5, 3.0 });
try doTheTestMod(f64, [4]f64{ 4.0, -4.0, 4.0, -4.0 }, [4]f64{ 1.0, 2.0, 0.5, 3.0 });