<script type="module">
import {
Float16Array, isFloat16Array, isTypedArray,
getFloat16, setFloat16,
f16round,
} from "https://cdn.jsdelivr.net/npm/@petamoriken/float16/+esm";
const array = new Float16Array([0.499994]);
console.log(array[0])
</script>
0.499994will be converted to0.25