WebAssembly / spec

WebAssembly specification, reference interpreter, and test suite.
https://webassembly.github.io/spec/
Other
3.13k stars 445 forks source link

[test] Add tests for out-of-range NaN payloads #1670

Closed sunfishcode closed 1 year ago

sunfishcode commented 1 year ago

Add assert_malformed tests for f32.const nan:0x800000 and f64.const nan:0x10000000000000, which are malformed since the payload values are outside the range supported by the types.