Skip to content

Float literal syntax spec and tests don't match #1066

Closed

Description

@AndrewScheidecker

The spec defines the syntax for fN to require a decimal point or exponent, and defines f(32|64).const to only accept a fN as their immediate operand.

However, there are many tests that use f(32|64).const without a decimal point or exponent; e.g.:

(func (export "f32-dec-sep1") (result f32) (f32.const 1_000_000))

Activity

  1. rossberg commented on Sep 14, 2019

    @rossberg
    Member

    Indeed, PTAL #1069 for a fix.

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