Givaro
Namespaces | Functions
gmp++_int_compare.C File Reference

routines to compare integers. More...

#include "gmp++/gmp++.h"
#include <cstdlib>

Namespaces

 Givaro
 Namespace in which the whole Givaro library resides.
 

Functions

int compare (const Integer &a, const Integer &b)
 
int absCompare (const Integer &a, const Integer &b)
 
int absCompare (const Integer &a, const double b)
 
int absCompare (const Integer &a, const float b)
 
int absCompare (const Integer &a, const long unsigned b)
 
int absCompare (const Integer &a, const unsigned b)
 
int absCompare (const Integer &a, const long int b)
 
int absCompare (const Integer &a, const int b)
 
int operator!= (double l, const Integer &n)
 
int operator!= (float l, const Integer &n)
 
int operator!= (int l, const Integer &n)
 
int operator!= (long int l, const Integer &n)
 
int operator!= (long unsigned int l, const Integer &n)
 
int operator!= (unsigned int l, const Integer &n)
 
int operator== (double l, const Integer &n)
 
int operator== (float l, const Integer &n)
 
int operator== (int l, const Integer &n)
 
int operator== (long int l, const Integer &n)
 
int operator== (long unsigned int l, const Integer &n)
 
int operator== (unsigned int l, const Integer &n)
 
int operator> (double l, const Integer &n)
 
int operator> (float l, const Integer &n)
 
int operator> (int l, const Integer &n)
 
int operator> (long int l, const Integer &n)
 
int operator> (long unsigned int l, const Integer &n)
 
int operator> (unsigned int l, const Integer &n)
 
int operator< (double l, const Integer &n)
 
int operator< (float l, const Integer &n)
 
int operator< (int l, const Integer &n)
 
int operator< (long int l, const Integer &n)
 
int operator< (long unsigned int l, const Integer &n)
 
int operator< (unsigned int l, const Integer &n)
 
int operator>= (double l, const Integer &n)
 
int operator>= (float l, const Integer &n)
 
int operator>= (int l, const Integer &n)
 
int operator>= (long int l, const Integer &n)
 
int operator>= (long unsigned int l, const Integer &n)
 
int operator>= (unsigned int l, const Integer &n)
 
int operator<= (double l, const Integer &n)
 
int operator<= (float l, const Integer &n)
 
int operator<= (int l, const Integer &n)
 
int operator<= (long int l, const Integer &n)
 
int operator<= (long unsigned int l, const Integer &n)
 
int operator<= (unsigned int l, const Integer &n)
 
int isOne (const Integer &a)
 
int nonZero (const Integer &a)
 
int isZero (const Integer &a)
 
int isZero (const short int a)
 
int isZero (const int a)
 
int isZero (const long int a)
 
int isZero (const unsigned short int a)
 
int isZero (const unsigned int a)
 
int isZero (const long unsigned int a)
 

Detailed Description

routines to compare integers.