feige
2024-06-10 7d72e6025ff1fb2ffe9df1920edf9867cf02650d
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;
};