This repository was archived by the owner on Jun 26, 2020. It is now read-only.

Description
The language reference is not so clear on what happens when floating point arithmetic instructions produce a NaN. We should specify that.
- Can instructions return a signaling NaN or only quiet NaNs?
- When propagating a NaN input, can the payload bits change?
The specification should be tight enough that WebAssembly semantics are simple to represent, and loose enough that we don't need lots of NaN adjustment code emitted for fadd on common targets.
Copying the WebAssembly semantics is probably a good choice.