Main Page   Modules   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages  

gmp++_int.inl File Reference

#include <stdio.h>

Defines

#define GMP__ABS(l)   ((l) <0 ? -l : l)
#define GMP__SGN(l)   ((l) <0 ? -1 : (l >0 ? 1 : 0))

Functions

int operator!= (const Integer &a, const Integer &b)
int operator!= (int l, const Integer &n)
int operator!= (long l, const Integer &n)
int operator!= (unsigned long l, const Integer &n)
int operator== (const Integer &a, const Integer &b)
int operator== (int l, const Integer &n)
int operator== (long l, const Integer &n)
int operator== (unsigned long l, const Integer &n)
int operator== (const Integer &n, int l)
int operator== (const Integer &n, long l)
int operator== (const Integer &n, unsigned long l)
int operator< (const Integer &a, const Integer &b)
int operator< (const int l, const Integer &n)
int operator< (const long l, const Integer &n)
int operator< (const unsigned long l, const Integer &n)
int operator> (const Integer &a, const Integer &b)
int operator> (int l, const Integer &n)
int operator> (long l, const Integer &n)
int operator> (unsigned long l, const Integer &n)
int operator<= (const Integer &a, const Integer &b)
int operator<= (const Integer &n, int l)
int operator<= (const Integer &n, long l)
int operator<= (int l, const Integer &n)
int operator<= (long l, const Integer &n)
int operator<= (const Integer &n, unsigned long l)
int operator<= (unsigned long l, const Integer &n)
int operator>= (const Integer &a, const Integer &b)
int operator>= (int l, const Integer &n)
int operator>= (long l, const Integer &n)
int operator>= (const Integer &n, int l)
int operator>= (const Integer &n, long l)
int operator>= (unsigned long l, const Integer &n)
int operator>= (const Integer &n, unsigned long l)
Integer operator+ (const int l, const Integer &n)
Integer operator+ (const unsigned int l, const Integer &n)
Integer operator+ (const long l, const Integer &n)
Integer operator+ (const unsigned long l, const Integer &n)
Integer operator+ (const Integer &n, const int l)
Integer operator+ (const Integer &n, const unsigned int l)
Integeroperator+= (Integer &n, const int l)
Integeroperator+= (Integer &n, const unsigned int l)
Integer operator- (const int l, const Integer &n)
Integer operator- (const unsigned int l, const Integer &n)
Integer operator- (const long l, const Integer &n)
Integer operator- (const unsigned long l, const Integer &n)
Integer operator- (const Integer &n, const int l)
Integer operator- (const Integer &n, const unsigned int l)
Integeroperator-= (Integer &n, const int l)
Integeroperator-= (Integer &n, const unsigned int l)
Integer operator * (const int l, const Integer &n)
Integer operator * (const unsigned int l, const Integer &n)
Integer operator * (const long l, const Integer &n)
Integer operator * (const unsigned long l, const Integer &n)
Integer operator * (const Integer &n, const int l)
Integer operator * (const Integer &n, const unsigned int l)
Integeroperator *= (Integer &n, const int l)
Integeroperator *= (Integer &n, const unsigned int l)
Integer operator/ (const int l, const Integer &n)
Integer operator/ (const long l, const Integer &n)
Integer operator/ (const Integer &n, const int l)
Integer operator/ (const Integer &n, const unsigned int l)
Integeroperator/= (Integer &n, const int l)
Integeroperator/= (Integer &n, const long l)
Integeroperator/= (Integer &n, const unsigned int l)
Integer operator% (const int l, const Integer &n)
Integer operator% (const long l, const Integer &n)
Integer operator% (const Integer &n, const int l)
Integer operator% (const Integer &n, const unsigned int l)
Integeroperator%= (Integer &n, const int l)
Integeroperator%= (Integer &n, const unsigned int l)
int isOne (const Integer &a)
int isZero (const Integer &a)
int isZero (const short int a)
int isZero (const int a)
int isZero (const long a)
int isZero (const unsigned short int a)
int isZero (const unsigned int a)
int isZero (const unsigned long a)
int sign (const Integer &a)
unsigned long length (const Integer &a)
Integer abs (const Integer &n)
std::ostream & operator<< (std::ostream &o, const Integer &a)

Define Documentation

#define GMP__ABS      ((l) <0 ? -l : l)
 

#define GMP__SGN      ((l) <0 ? -1 : (l >0 ? 1 : 0))
 


Function Documentation

Integer abs const Integer   n [inline]
 

int isOne const Integer   a [inline]
 

int isZero const unsigned long    a [inline]
 

int isZero const unsigned int    a [inline]
 

int isZero const unsigned short int    a [inline]
 

int isZero const long    a [inline]
 

int isZero const int    a [inline]
 

int isZero const short int    a [inline]
 

int isZero const Integer   a [inline]
 

unsigned long length const Integer   a [inline]
 

Integer operator * const Integer   n,
const unsigned int    l
[inline]
 

Integer operator * const Integer   n,
const int    l
[inline]
 

Integer operator * const unsigned long    l,
const Integer   n
[inline]
 

Integer operator * const long    l,
const Integer   n
[inline]
 

Integer operator * const unsigned int    l,
const Integer   n
[inline]
 

Integer operator * const int    l,
const Integer   n
[inline]
 

Integer& operator *= Integer   n,
const unsigned int    l
[inline]
 

Integer& operator *= Integer   n,
const int    l
[inline]
 

int operator!= unsigned long    l,
const Integer   n
[inline]
 

int operator!= long    l,
const Integer   n
[inline]
 

int operator!= int    l,
const Integer   n
[inline]
 

int operator!= const Integer   a,
const Integer   b
[inline]
 

Integer operator% const Integer   n,
const unsigned int    l
[inline]
 

Integer operator% const Integer   n,
const int    l
[inline]
 

Integer operator% const long    l,
const Integer   n
[inline]
 

Integer operator% const int    l,
const Integer   n
[inline]
 

Integer& operator%= Integer   n,
const unsigned int    l
[inline]
 

Integer& operator%= Integer   n,
const int    l
[inline]
 

Integer operator+ const Integer   n,
const unsigned int    l
[inline]
 

Integer operator+ const Integer   n,
const int    l
[inline]
 

Integer operator+ const unsigned long    l,
const Integer   n
[inline]
 

Integer operator+ const long    l,
const Integer   n
[inline]
 

Integer operator+ const unsigned int    l,
const Integer   n
[inline]
 

Integer operator+ const int    l,
const Integer   n
[inline]
 

Integer& operator+= Integer   n,
const unsigned int    l
[inline]
 

Integer& operator+= Integer   n,
const int    l
[inline]
 

Integer operator- const Integer   n,
const unsigned int    l
[inline]
 

Integer operator- const Integer   n,
const int    l
[inline]
 

Integer operator- const unsigned long    l,
const Integer   n
[inline]
 

Integer operator- const long    l,
const Integer   n
[inline]
 

Integer operator- const unsigned int    l,
const Integer   n
[inline]
 

Integer operator- const int    l,
const Integer   n
[inline]
 

Integer& operator-= Integer   n,
const unsigned int    l
[inline]
 

Integer& operator-= Integer   n,
const int    l
[inline]
 

Integer operator/ const Integer   n,
const unsigned int    l
[inline]
 

Integer operator/ const Integer   n,
const int    l
[inline]
 

Integer operator/ const long    l,
const Integer   n
[inline]
 

Integer operator/ const int    l,
const Integer   n
[inline]
 

Integer& operator/= Integer   n,
const unsigned int    l
[inline]
 

Integer& operator/= Integer   n,
const long    l
[inline]
 

Integer& operator/= Integer   n,
const int    l
[inline]
 

int operator< const unsigned long    l,
const Integer   n
[inline]
 

int operator< const long    l,
const Integer   n
[inline]
 

int operator< const int    l,
const Integer   n
[inline]
 

int operator< const Integer   a,
const Integer   b
[inline]
 

std::ostream& operator<< std::ostream &    o,
const Integer   a
[inline]
 

int operator<= unsigned long    l,
const Integer   n
[inline]
 

int operator<= const Integer   n,
unsigned long    l
[inline]
 

int operator<= long    l,
const Integer   n
[inline]
 

int operator<= int    l,
const Integer   n
[inline]
 

int operator<= const Integer   n,
long    l
[inline]
 

int operator<= const Integer   n,
int    l
[inline]
 

int operator<= const Integer   a,
const Integer   b
[inline]
 

int operator== const Integer   n,
unsigned long    l
[inline]
 

int operator== const Integer   n,
long    l
[inline]
 

int operator== const Integer   n,
int    l
[inline]
 

int operator== unsigned long    l,
const Integer   n
[inline]
 

int operator== long    l,
const Integer   n
[inline]
 

int operator== int    l,
const Integer   n
[inline]
 

int operator== const Integer   a,
const Integer   b
[inline]
 

int operator> unsigned long    l,
const Integer   n
[inline]
 

int operator> long    l,
const Integer   n
[inline]
 

int operator> int    l,
const Integer   n
[inline]
 

int operator> const Integer   a,
const Integer   b
[inline]
 

int operator>= const Integer   n,
unsigned long    l
[inline]
 

int operator>= unsigned long    l,
const Integer   n
[inline]
 

int operator>= const Integer   n,
long    l
[inline]
 

int operator>= const Integer   n,
int    l
[inline]
 

int operator>= long    l,
const Integer   n
[inline]
 

int operator>= int    l,
const Integer   n
[inline]
 

int operator>= const Integer   a,
const Integer   b
[inline]
 

int sign const Integer   a [inline]
 


Generated on Mon Jun 20 09:16:50 2005 for linbox by doxygen1.2.18