Intent to prototype: Float16Array

308 views
Skip to first unread message

Daniel Minor

unread,
Jan 25, 2024, 1:55:17 PMJan 25
to dev-pl...@mozilla.org
Summary: Float16Array is a new typed array analogous to existing typed arrays like Float32Array. Float16 is widely used for GPU computation in applications where speed and memory use are more important than precision; having Float16Array in JavaScript will facilitate passing data to the GPU.

Bug: https://bugzilla.mozilla.org/show_bug.cgi?id=1833646

Specification: https://github.com/tc39/proposal-float16array

Standards Body: TC39

Platform coverage: all

Preference: javascript.options.experimental.float16array

DevTools bug: n/a

Link to standards-positions discussion: n/a

Other browsers:

web-platform-tests: Coverage in test262, e.g. https://github.com/tc39/test262/blob/e4f91b6381d7694265031caad0c71d733ac132f3/harness/testTypedArray.js#L35

Reply all
Reply to author
Forward
0 new messages