Skip to content

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

@AndrewScheidecker

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))

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