diff options
author | Nicolas Noble <pixel@nobis-crew.org> | 2013-08-12 11:21:09 -0700 |
---|---|---|
committer | Nicolas Noble <pixel@nobis-crew.org> | 2013-08-12 11:21:09 -0700 |
commit | a91c3d3a6cb5e71c6376b1efe7d037f02b36f035 (patch) | |
tree | 29834cc35a633b00d013950fe7dfc9a007f9da46 | |
parent | aed6762619168d1c1f9da4c3feeb2ce28dafc55f (diff) |
Forgot to actually push these.
-rw-r--r-- | src/LuaBigInt.cc | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/src/LuaBigInt.cc b/src/LuaBigInt.cc index 91823b2..d70cc55 100644 --- a/src/LuaBigInt.cc +++ b/src/LuaBigInt.cc @@ -519,6 +519,25 @@ void LuaBigIntFactory::pushObjectAndMembers(Lua & L) { PUSH_METHOD(BigInt, BIGINT_GCD); PUSH_METHOD(BigInt, BIGINT_LCM); + + PUSH_METHOD(BigInt, BIGINT_MODADD); + PUSH_METHOD(BigInt, BIGINT_MODSUB); + PUSH_METHOD(BigInt, BIGINT_MODMUL); + PUSH_METHOD(BigInt, BIGINT_MODSQR); + PUSH_METHOD(BigInt, BIGINT_MODINV); + PUSH_METHOD(BigInt, BIGINT_MODPOW); + + PUSH_METHOD(BigInt, BIGINT_DO_MODADD); + PUSH_METHOD(BigInt, BIGINT_DO_MODSUB); + PUSH_METHOD(BigInt, BIGINT_DO_MODMUL); + PUSH_METHOD(BigInt, BIGINT_DO_MODSQR); + PUSH_METHOD(BigInt, BIGINT_DO_MODINV); + PUSH_METHOD(BigInt, BIGINT_DO_MODPOW); + + PUSH_METHOD(BigInt, BIGINT_ISPRIME); + PUSH_METHOD(BigInt, BIGINT_ISNEG); + PUSH_METHOD(BigInt, BIGINT_ISZERO); + PUSH_METHOD(BigInt, BIGINT_ISPOS); } void Balau::registerLuaBigInt(Lua & L) { |