We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f113ac4 commit ef28217Copy full SHA for ef28217
test/core/float_literals.wast
@@ -352,6 +352,10 @@
352
(module quote "(global f32 (f32.const 0x1.0p_+1))")
353
"unknown operator"
354
)
355
+(assert_malformed
356
+ (module quote "(global f32 (f32.const nan:0x80_0000))")
357
+ "constant out of range"
358
+)
359
360
(assert_malformed
361
(module quote "(global f64 (f64.const _100))")
@@ -505,3 +509,7 @@
505
509
(module quote "(global f64 (f64.const 0x1.0p_+1))")
506
510
507
511
512
513
+ (module quote "(global f64 (f64.const nan:0x10_0000_0000_0000))")
514
515
0 commit comments