diff options
author | Fabrice Bellard <fabrice@bellard.org> | 2025-05-05 19:12:32 +0200 |
---|---|---|
committer | Fabrice Bellard <fabrice@bellard.org> | 2025-05-05 19:12:32 +0200 |
commit | a8b2d7c2b2751130000b74ac7d831fd75a0abbc3 (patch) | |
tree | 92d851b3a1eeb56d53796ca43a859f7300892b42 /tests/test_builtin.js | |
parent | c95b024d3e4b396c9569719173e4269091dc0bf7 (diff) | |
download | quickjs-a8b2d7c2b2751130000b74ac7d831fd75a0abbc3.tar.gz quickjs-a8b2d7c2b2751130000b74ac7d831fd75a0abbc3.zip |
added Float16Array (bnoordhuis) - optimized float16 conversion functions
Diffstat (limited to 'tests/test_builtin.js')
-rw-r--r-- | tests/test_builtin.js | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/test_builtin.js b/tests/test_builtin.js index 423841d..667650a 100644 --- a/tests/test_builtin.js +++ b/tests/test_builtin.js @@ -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; |