linwenling
2023-07-18 d3bc497986278ec8c2f21d3ef272ecc392cbc93b
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;
};