| ... | ... | @@ -689,6 +689,7 @@ test "f128 at compile time is lossy" { |
| 689 | 689 | } |
| 690 | 690 | |
| 691 | 691 | test "comptime fixed-width float zero divided by zero produces NaN" { |
| 692 | if (builtin.zig_backend == .stage1) return error.SkipZigTest; |
| 692 | 693 | if (builtin.zig_backend == .stage2_wasm) return error.SkipZigTest; // TODO |
| 693 | 694 | if (builtin.zig_backend == .stage2_x86_64) return error.SkipZigTest; // TODO |
| 694 | 695 | if (builtin.zig_backend == .stage2_arm) return error.SkipZigTest; // TODO |
| ... | ... | @@ -701,6 +702,7 @@ test "comptime fixed-width float zero divided by zero produces NaN" { |
| 701 | 702 | } |
| 702 | 703 | |
| 703 | 704 | test "comptime fixed-width float non-zero divided by zero produces signed Inf" { |
| 705 | if (builtin.zig_backend == .stage1) return error.SkipZigTest; |
| 704 | 706 | if (builtin.zig_backend == .stage2_wasm) return error.SkipZigTest; // TODO |
| 705 | 707 | if (builtin.zig_backend == .stage2_x86_64) return error.SkipZigTest; // TODO |
| 706 | 708 | if (builtin.zig_backend == .stage2_arm) return error.SkipZigTest; // TODO |
| ... | ... | @@ -718,5 +720,7 @@ test "comptime fixed-width float non-zero divided by zero produces signed Inf" { |
| 718 | 720 | } |
| 719 | 721 | |
| 720 | 722 | test "comptime_float zero divided by zero produces zero" { |
| 723 | if (builtin.zig_backend == .stage1) return error.SkipZigTest; |
| 724 | |
| 721 | 725 | try expect((0.0 / 0.0) == 0.0); |
| 722 | 726 | } |