Welcome to the AI slop.
This commit is contained in:
commit
adc01bb99c
1925 changed files with 238364 additions and 0 deletions
9
node_modules/math-intrinsics/mod.js
generated
vendored
Normal file
9
node_modules/math-intrinsics/mod.js
generated
vendored
Normal file
|
|
@ -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);
|
||||
};
|
||||
Loading…
Add table
Add a link
Reference in a new issue