Thanks for this fantastic library!
from the example, the expected output of the following map should be:
const array = new Float16Array([1.0, 1.1, 1.2, 1.3]);
const hey = array.map((value) => value);
console.log(">>>", hey)
Expected Output
>>> [ 2, 2.19921875, 2.3984375, 2.599609375 ]
Actual Output (wrong)
>>> Proxy(Float16Array) {0: 32256, 1: 32256, 2: 32256, 3: 32256, buffer: ArrayBuffer(8), byteLength: 8, byteOffset: 0, length: 4}
This, however, works:
const array = new Float16Array([1.0, 1.1, 1.2, 1.3]);
const hey = array.map((value) => console.log(">>>", value ));
Outputs: (correct)
=>>> 2
>>> 2.19921875
>>> 2.400390625
>>> 2.599609375
Thanks for this fantastic library!
from the example, the expected output of the following map should be:
Expected Output
Actual Output (wrong)
This, however, works:
Outputs: (correct)