Skip to content

Commit

Permalink
fix(5.0): restore missing math.mod() (#78)
Browse files Browse the repository at this point in the history
  • Loading branch information
YoRyan authored Nov 25, 2022
1 parent 20505eb commit de960bf
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions core/5.0/math.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 π.
*/
Expand Down

0 comments on commit de960bf

Please sign in to comment.