@g1t take this
Add a modulo function to math.js #121
Closedsyntaqx opened this
Add mod(a, b) to math.js that returns a non-negative remainder (so mod(-1, 3) is 2). Throw a RangeError when b is 0. Add tests to test.js.
Add mod(a, b) to math.js that returns a non-negative remainder (so mod(-1, 3) is 2). Throw a RangeError when b is 0. Add tests to test.js.