fix: Float16Array support (#23512)

Ref #23490, #23277

* remove `--js-float16array` flag (This flag has already added to
deno_core)
* add some `Float16Array` support
This commit is contained in:
Kenta Moriuchi 2024-04-24 05:54:19 +09:00 committed by GitHub
parent ae62443ae0
commit aff7a64544
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
6 changed files with 15 additions and 9 deletions

View file

@ -1995,6 +1995,10 @@ function readableByteStreamControllerPullInto(
case "Uint32Array":
ctor = Uint32Array;
break;
case "Float16Array":
// TODO(petamoriken): add Float16Array to primordials
ctor = Float16Array;
break;
case "Float32Array":
ctor = Float32Array;
break;