forked from ard/ruoyi-api

‘liusuyi’
2023-10-06 63e7ee4de83e1dfd0d4db6113ca07fe544155c14
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;
};