src: enable `Float16Array` on global object · nodejs/node@c6b9343 · GitHub
Skip to content

Commit c6b9343

Browse files
targosRafaelGSS
authored andcommitted
src: enable Float16Array on global object
This feature is enabled in stable Chrome 136 but not in V8 by default. PR-URL: #58154 Reviewed-By: Matteo Collina <matteo.collina@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com> Reviewed-By: Rafael Gonzaga <rafael.nunu@hotmail.com> Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com>
1 parent 69efb81 commit c6b9343

3 files changed

Lines changed: 2 additions & 6 deletions

File tree

src/node.cc

Lines changed: 1 addition & 0 deletions

test/common/globals.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ const intrinsics = new Set([
3333
'Int8Array',
3434
'Uint16Array',
3535
'Int16Array',
36+
'Float16Array',
3637
'Uint32Array',
3738
'Int32Array',
3839
'Float32Array',

test/wpt/status/encoding.json

Lines changed: 0 additions & 6 deletions

0 commit comments

Comments
 (0)