caoccao / Javet

Javet is Java + V8 (JAVa + V + EighT). It is an awesome way of embedding Node.js and V8 in Java.
https://www.caoccao.com/Javet/
Apache License 2.0
731 stars 69 forks source link

Implement Float16Array Once It is in V8 #256

Open caoccao opened 1 year ago

caoccao commented 1 year ago

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.

caoccao commented 3 months ago

It's been in V8. The first journey of implementing Float16Array into V8

caoccao commented 3 months ago

References

caoccao commented 3 weeks ago

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