예제 #1
0
bool operator>=(const Bigint &lhs, const Bigint &rhs)
{
	if(lhs.compare(rhs)>=0)
		return true;
	return false;
}
예제 #2
0
int Bigint::compare(const Bigint& number1, const Bigint& number2)
{
	return number1.compare(number2);
}
예제 #3
0
bool operator<(const Bigint &lhs, const Bigint &rhs)
{
	if(lhs.compare(rhs)==-1)
		return true;
	return false;
}