aboutsummaryrefslogtreecommitdiff
path: root/lib/std/math/float.zig
diff options
context:
space:
mode:
authorAlex Rønne Petersen <alex@alexrp.com>2024-10-02 04:04:40 +0200
committerAlex Rønne Petersen <alex@alexrp.com>2024-10-02 04:08:24 +0200
commitc13713dd02ccd6ae21a508ec43bc1725199d2ec8 (patch)
tree7580e026bcbd74de213b274118a8144baccf249a /lib/std/math/float.zig
parent354ea625e5d9adcdac3c015f1eccf14c694ec03f (diff)
downloadzig-c13713dd02ccd6ae21a508ec43bc1725199d2ec8.tar.gz
zig-c13713dd02ccd6ae21a508ec43bc1725199d2ec8.zip
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 (limited to 'lib/std/math/float.zig')
-rw-r--r--lib/std/math/float.zig3
1 files changed, 0 insertions, 3 deletions
diff --git a/lib/std/math/float.zig b/lib/std/math/float.zig
index a10332f863..b7269b3ba9 100644
--- 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;