Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/float16/src/index.mjs>Float16Array

Stage 3 IEEE 754 half-precision floating-point ponyfill
Latest
class Float16Array
import { Float16Array } from "https://deno.land/x/float16@v3.8.7/src/index.mjs";

Constructors

new
Float16Array(
input,
_byteOffset,
_length,
)

Properties

readonly
[SymbolToStringTag]

Methods

at(index)
copyWithin(
target,
start,
...opts,
)

limitation: returns a object whose prototype is not %ArrayIteratorPrototype%

every(callback, ...opts)
fill(value, ...opts)
filter(callback, ...opts)
find(callback, ...opts)
findIndex(callback, ...opts)
findLast(callback, ...opts)
findLastIndex(callback, ...opts)
forEach(callback, ...opts)
includes(element, ...opts)
indexOf(element, ...opts)
join(separator)
lastIndexOf(element, ...opts)
map(callback, ...opts)
reduce(callback, ...opts)
reduceRight(callback, ...opts)
set(input, ...opts)
slice(start, end)
some(callback, ...opts)
sort(compareFn)
subarray(begin, end)
toSorted(compareFn)

limitation: returns a object whose prototype is not %ArrayIteratorPrototype%

with(index, value)

Static Methods

from(src, ...opts)

limitation: Object.getOwnPropertyNames(Float16Array) or Reflect.ownKeys(Float16Array) include this key

of(...items)

limitation: Object.getOwnPropertyNames(Float16Array) or Reflect.ownKeys(Float16Array) include this key