Skip to main content
Module

x/float16/index.d.ts>setFloat16

Stage 3 IEEE 754 half-precision floating-point ponyfill
Latest
function setFloat16
import { setFloat16 } from "https://deno.land/x/float16@v3.8.7/index.d.ts";

Stores an Float16 value at the specified byte offset from the start of the view.

Parameters

dataView: DataView

The place in the buffer at which the value should be set.

byteOffset: number

The value to set.

value: number

If false or undefined, a big-endian value should be written, otherwise a little-endian value should be written.

optional
littleEndian: boolean