Skip to content

Confusion about the word "canonical" for NaNs #1613

Closed

Description

@sunfishcode

The Wasm spec uses the word "canonical" to describe NaNs in a particular form. I recently spoke with someone who was confused because IEEE 754 also has a concept of a "canonical" representation for a NaN, and it's not the same as the Wasm spec's.

Please consider adding a note to the spec mentioning that IEEE 754's "canonical" and Wasm's "canonical" are different things.

Activity

  1. rossberg commented on Feb 22, 2023

    @rossberg
    Member

    If I read IEEE correctly, then it defines canonical NaN only for decimal formats. Hope #1614 makes sense. @sunfishcode, PTAL.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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