Javet
Javet copied to clipboard
Implement Float16Array Once It is in V8
proposal-float16array is a proposal to add float16 (aka half-precision or binary16) TypedArrays to JavaScript.
This issue is for tracking the work item about implementing Float16Array once it is in V8.
It's been in V8. The first journey of implementing Float16Array into V8
- [x] Wait for Node.js v22 promoted to LTS because Node.js v20 doesn't support Float16Array.
- [x] Implement
Float16in Java.
References
To enable Float16Array in Node.js:
$ node --js-float16array
Welcome to Node.js v22.9.0.
Type ".help" for more information.
> new Float16Array([2.65625, 58.59375])
Float16Array(2) [ 2.65625, 58.59375 ]
>