This commit is contained in:
Kenta Moriuchi 2024-11-20 03:44:30 +09:00
parent 3d7e71c59c
commit bbf6ce54e4
No known key found for this signature in database
GPG Key ID: AC843C584A91BE0C

View File

@ -3573,6 +3573,10 @@ interface Float16ArrayConstructor {
*/
declare var Float16Array: Float16ArrayConstructor;
/**
* @category Platform
* @experimental
*/
interface Math {
/**
* Returns the nearest half precision float representation of a number.
@ -3584,6 +3588,10 @@ interface Math {
f16round(x: number): number;
}
/**
* @category Platform
* @experimental
*/
interface DataView<TArrayBuffer extends ArrayBufferLike> {
/**
* Gets the Float16 value at the specified byte offset from the start of the view. There is