Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/float16/src/DataView.mjs>setFloat16

Stage 1 IEEE 754 half-precision floating-point for JavaScript
Go to Latest
function setFloat16
import { setFloat16 } from "https://deno.land/x/float16@v3.7.0/src/DataView.mjs";

stores an unsigned 16-bit float value at the specified byte offset from the start of the DataView

Parameters

dataView
byteOffset
value
...opts