commit c13713dd02ccd6ae21a508ec43bc1725199d2ec8 (tree)
parent 354ea625e5d9adcdac3c015f1eccf14c694ec03f
Author: Alex Rønne Petersen <alex@alexrp.com>
Date: Wed, 2 Oct 2024 04:04:40 +0200
std.math: Re-enable snan() test.
This now passes on all targets that we test in CI.
See: https://github.com/ziglang/zig/issues/14366
Diffstat:
1 file changed, 0 insertions(+), 3 deletions(-)
diff --git a/lib/std/math/float.zig b/lib/std/math/float.zig
@@ -172,9 +172,6 @@ test nan {
}
test snan {
- // TODO: https://github.com/ziglang/zig/issues/14366
- if (builtin.zig_backend == .stage2_llvm and comptime builtin.cpu.arch.isArmOrThumb()) return error.SkipZigTest;
-
const snan_u16: u16 = 0x7D00;
const snan_u32: u32 = 0x7FA00000;
const snan_u64: u64 = 0x7FF4000000000000;