feige
2024-02-20 016f890b89151f2edfee3ae792a9c5594460bf2b
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;
};