Skip to content

Commit de960bf

Browse files
authored
fix(5.0): restore missing math.mod() (#78)
1 parent 20505eb commit de960bf

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

core/5.0/math.d.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,12 @@ declare namespace math {
9595
*/
9696
function min(x: number, ...numbers: number[]): number;
9797

98+
/**
99+
* Returns the remainder of the division of x by y that rounds the quotient
100+
* towards zero. (integer/float)
101+
*/
102+
function mod(x: number, y: number): number;
103+
98104
/**
99105
* The value of π.
100106
*/

0 commit comments

Comments
 (0)