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

Use ToNumber for lane arguments #237

Open
@littledan

Description

@littledan

TC39 objected to the way that functions like extractLane check that their argument is an int, rather than doing an implicit coercion. Since these are only fast when a literal int is given, I don't think this should have runtime overhead. Change the spec, polyfill and implementations to call ToNumber on lane arguments across the spec (or if anyone has counterarguments, if you say them here now I can raise them to the committee today).

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