num_gmp.h and begin tests

This commit is contained in:
Pieter Wuille
2013-03-10 21:25:19 +01:00
parent 852cbee819
commit a41f32e69d
5 changed files with 350 additions and 148 deletions

View File

@@ -336,7 +336,7 @@ void GroupElemJac::SetMulLambda(const GroupElemJac &p) {
x.SetMult(x, beta);
}
void SplitExp(Context &ctx, const Number &exp, Number &exp1, Number exp2) {
void SplitExp(Context &ctx, const Number &exp, Number &exp1, Number &exp2) {
const GroupConstants &c = GetGroupConst();
Context ct(ctx);
Number bnc1(ct), bnc2(ct), bnt1(ct), bnt2(ct), bnn2(ct);