This commit is contained in:
LeviM0323 committed 2026-03-25 16:10:17 -04:00
1 parent f3667266a9
commit 942da76704
933 files changed
+149047 -2

No files matched your search

@@ -0,0 +1,9 @@
'use strict';
var $floor = require('./floor');
/** @type {import('./mod')} */
module.exports = function mod(number, modulo) {
var remain = number % modulo;
return $floor(remain >= 0 ? remain : remain + modulo);
};