diff --git a/src/lib/es2025.float16.d.ts b/src/lib/es2025.float16.d.ts index 6a1f600040d75..1794e7ae389c2 100644 --- a/src/lib/es2025.float16.d.ts +++ b/src/lib/es2025.float16.d.ts @@ -400,13 +400,22 @@ interface Float16ArrayConstructor { } declare var Float16Array: Float16ArrayConstructor; -interface Math { - /** - * Returns the nearest half precision float representation of a number. - * @param x A numeric expression. - */ - f16round(x: number): number; -} +interface Math { + /** + * Returns the nearest half precision float representation of a number. + * @param x A numeric expression. + */ + f16round(x: number): number; + /** + * Returns the sum of the values in the iterable using a more precise + * summation algorithm than naive floating-point addition. + * Returns `-0` if the iterable is empty. + * @param numbers An iterable (such as an Array) of numbers. + * @throws {TypeError} If `numbers` is not iterable, or if any value in the iterable is not of type `number`. + * @throws {RangeError} If the iterable yields 2^53 or more values. + */ + sumPrecise(numbers: Iterable): number; +} interface DataView { /**