Search e01
One query across the encyclopedia, books, dictionary, papers, Wikidata and the developer library. Every hit carries its source.
6 results across 6 corpora for Float16Array.
Developer library 6
Firefox 127 release notes for developers
[relative colors](/docs/Web/CSS/Guides/Colors/Using_relative_colors#using_math_functions) ([Firefox bug 1889561](https://bugzil.la/1889561)). - **JavaScript `Float16Array` typed array**: `javascript.options.experimental.float16array`. Float16Array typed arrays are now supported, along with DataView.prototype.getFloat16() and DataView.prototype.setFloat16() for reading and setting `Float16Array` values from a Dat
Firefox 129 release notes for developers
ettings` has been implemented as an alias of the standard font-feature-settings property ([Firefox bug 1595620](https://bugzil.la/1595620)). ### JavaScript - Float16Array typed arrays are now supported, along with DataView.prototype.getFloat16() and DataView.prototype.setFloat16() for reading and setting `Float16Array` values from a DataView, and the Math.f16round() static method, which can be used to round numbers
JavaScript reference
exed collections - Array - Int8Array - Uint8Array - Uint8ClampedArray - Int16Array - Uint16Array - Int32Array - Uint32Array - BigInt64Array - BigUint64Array - Float16Array - Float32Array - Float64Array ### Keyed collections - Map - Set - WeakMap - WeakSet ### Structured data - ArrayBuffer - SharedArrayBuffer - DataView - Atomics - JSON ### Managing memory - WeakRef - FinalizationRegistry ### Control abstracti
Standard built-in objects
ts. - Array - TypedArray - Int8Array - Uint8Array - Uint8ClampedArray - Int16Array - Uint16Array - Int32Array - Uint32Array - BigInt64Array - BigUint64Array - Float16Array - Float32Array - Float64Array ### Keyed collections These objects represent collections which use keys. The iterable collections (Map and Set) contain elements which are easily iterated in the order of insertion. - Map - Set - WeakMap - WeakSet
Math.f16round()
round` is the 16-bit counterpart of Math.fround(). It is intended to smooth some rough edges when interacting with float16 numbers, such as when reading from a Float16Array. Internally, JavaScript continues to treat the number as a 64-bit float, it just performs a "round to even" on the 10th bit of the mantissa, and sets all following mantissa bits to `0`. If the number is outside the range of a 16-bit float, Infinit
Float16Array
The **`Float16Array`** typed array represents an array of 16-bit floating point numbers in the platform byte order. If control over byte order is needed, use DataView instead. The contents are initialized to `0` unless initialization data is explicitly provided. Once established, you can reference elements in the array using the object's methods, or using standard array index syntax (that is, using bracket notation).