示例#1
0
文件: base.C 项目: SALAM2016/orbiter
void base::add_mod(base &x, base &y, base &p)
{
	base z;
	
	x.add_to(y, z);
	z.modulo(p);
	swap(z);
}
示例#2
0
文件: base.C 项目: SALAM2016/orbiter
void base::add(base &x, base &y)
{
	// cout << "base::add() x=" << x << ", y=" << y << endl;
	x.add_to(y, *this);
}