mirror of
https://github.com/bellard/quickjs.git
synced 2025-09-30 15:04:24 +03:00
added Float16Array (bnoordhuis) - optimized float16 conversion functions
This commit is contained in:
@@ -489,6 +489,9 @@ function test_typed_array()
|
||||
a = new Uint16Array(buffer, 2);
|
||||
a[0] = -1;
|
||||
|
||||
a = new Float16Array(buffer, 8, 1);
|
||||
a[0] = 1;
|
||||
|
||||
a = new Float32Array(buffer, 8, 1);
|
||||
a[0] = 1;
|
||||
|
||||
|
Reference in New Issue
Block a user