feige
2025-05-20 1e264767dd2ac93e83b57b4e8e6626621fff4c6f
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;
};