mirror of
https://github.com/Sevichecc/Urara-Blog.git
synced 2025-05-07 04:59:13 +08:00
6 lines
184 B
Text
6 lines
184 B
Text
'use strict';
|
|
|
|
module.exports = function bigIntMod(BigIntRemainder, bigint, modulo) {
|
|
var remain = BigIntRemainder(bigint, modulo);
|
|
return remain >= 0 ? remain : remain + modulo;
|
|
};
|