1.1.18 • Published 3 years ago
@extra-math/mod.min v1.1.18
Finds remainder of x/y with sign of y (floored division). :package: :smiley_cat: :running: :vhs: :moon: :scroll: :newspaper: :blue_book:
This is part of package extra-math.
This is browserified, minified version of @extra-math/mod. It is exported as global variable math_mod. CDN: unpkg, jsDelivr.
math.mod(x, y);
// x: dividend
// y: divisor
const math = require("extra-math");
math.mod(1, 10);
// 1
math.mod(-1, 10);
// 9
math.mod(1, -10);
// -9
References
1.1.18
3 years ago
1.1.17
3 years ago
1.1.16
3 years ago
1.1.15
3 years ago
1.1.14
3 years ago
1.1.13
3 years ago
1.1.2
3 years ago
1.1.1
4 years ago
1.1.0
4 years ago
1.0.19
4 years ago
1.0.18
4 years ago
1.0.17
4 years ago
1.0.16
4 years ago
1.0.20
4 years ago
1.0.15
4 years ago
1.0.14
4 years ago
1.0.13
4 years ago
1.0.12
4 years ago
1.0.11
4 years ago
1.0.10
4 years ago
1.0.9
4 years ago
1.0.8
4 years ago
1.0.7
4 years ago