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

Document NaN propagation semantics #20

Closed
@stoklund

Description

@stoklund

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions