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
This commit is contained in:
Alex Rønne Petersen 2024-10-02 04:04:40 +02:00
parent 354ea625e5
commit c13713dd02
No known key found for this signature in database

View File

@ -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;