1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-11-21 15:04:11 -05:00
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; declare var Float16Array: Float16ArrayConstructor;
/**
* @category Platform
* @experimental
*/
interface Math { interface Math {
/** /**
* Returns the nearest half precision float representation of a number. * Returns the nearest half precision float representation of a number.
@ -3584,6 +3588,10 @@ interface Math {
f16round(x: number): number; f16round(x: number): number;
} }
/**
* @category Platform
* @experimental
*/
interface DataView<TArrayBuffer extends ArrayBufferLike> { interface DataView<TArrayBuffer extends ArrayBufferLike> {
/** /**
* Gets the Float16 value at the specified byte offset from the start of the view. There is * Gets the Float16 value at the specified byte offset from the start of the view. There is