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
Description
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
Labels
No labels