1.1.18 • Published 4 years ago

@extra-math/rem v1.1.18

Weekly downloads
43
License
MIT
Repository
github
Last release
4 years ago

Finds remainder of x/y with sign of x (truncated division). :package: :smiley_cat: :running: :vhs: :moon: :scroll: :newspaper: :blue_book:

Similar: rem, mod, modp.

This is part of package extra-math.

math.rem(x, y);
// x: dividend
// y: divisor
const math = require("extra-math");

math.rem(1, 10);
// 1

math.rem(-1, 10);
// -1

math.rem(1, -10);
// 1

References

1.1.18

4 years ago

1.1.17

4 years ago

1.1.16

4 years ago

1.1.15

4 years ago

1.1.14

4 years ago

1.1.13

4 years ago

1.1.2

5 years ago

1.1.1

5 years ago

1.1.0

5 years ago

1.0.19

5 years ago

1.0.18

5 years ago

1.0.17

5 years ago

1.0.16

5 years ago

1.0.20

5 years ago

1.0.15

5 years ago

1.0.14

5 years ago

1.0.13

5 years ago

1.0.12

5 years ago

1.0.11

5 years ago

1.0.10

5 years ago

1.0.9

5 years ago

1.0.8

5 years ago

1.0.7

5 years ago