Files
SnowLuma/.pnpm-store/v11/files/d6/8126b7cd594d9d1fb9584fcd0797939eccc620bda33e7ff2eae89e69739550bc38c160dd519907c1caaa93ca956171f5e8cf945365d9f848c8795253abbea7
T
TanTan 2a69b23b47
Dev Build / cleanup (push) Waiting to run
Dev Build / typecheck (push) Waiting to run
docs: 仓库链接指向本镜像仓库
2026-11-13 09:27:07 +08:00

10 lines
218 B
Plaintext

'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);
};