From d9ebc2ec7ea9a051d4f703952c920715453f6195 Mon Sep 17 00:00:00 2001 From: Ryan Young Date: Fri, 25 Nov 2022 02:41:01 +0000 Subject: [PATCH] fix(5.0): restore missing math.mod() --- core/5.0/math.d.ts | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/core/5.0/math.d.ts b/core/5.0/math.d.ts index fcbfa1f..f52893b 100644 --- a/core/5.0/math.d.ts +++ b/core/5.0/math.d.ts @@ -95,6 +95,12 @@ declare namespace math { */ function min(x: number, ...numbers: number[]): number; + /** + * Returns the remainder of the division of x by y that rounds the quotient + * towards zero. (integer/float) + */ + function mod(x: number, y: number): number; + /** * The value of π. */