forked from ard/ruoyi-api

zhangnaisong
2024-04-28 95345122239a82f6d10c2e5558cd5cc1644f474b
1
2
3
4
5
6
'use strict';
 
module.exports = function bigIntMod(BigIntRemainder, bigint, modulo) {
    var remain = BigIntRemainder(bigint, modulo);
    return remain >= 0 ? remain : remain + modulo;
};