summaryrefslogtreecommitdiff
path: root/lib/std/test/fltbits.myr
diff options
context:
space:
mode:
Diffstat (limited to 'lib/std/test/fltbits.myr')
-rw-r--r--lib/std/test/fltbits.myr2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/std/test/fltbits.myr b/lib/std/test/fltbits.myr
index 0571b10..4e64137 100644
--- a/lib/std/test/fltbits.myr
+++ b/lib/std/test/fltbits.myr
@@ -1,5 +1,5 @@
use std
const main = {
- std.assert(std.isnan(0./0.), "isnan(0/0) false\n")
+ std.assert(std.isnan(std.flt64nan()), "isnan(nan) false\n")
}