BWAPI
Classes | Typedefs | Functions
SPAR/AIModule/BWTA/vendors/CGAL/CGAL/CORE/BigRat.h File Reference
#include <CGAL/CORE/BigInt.h>
Include dependency graph for BigRat.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  BigRatRep
class  BigRat

Typedefs

typedef RCImpl< BigRatRepRCBigRat

Functions

BigRat operator+ (const BigRat &a, const BigRat &b)
BigRat operator- (const BigRat &a, const BigRat &b)
BigRat operator* (const BigRat &a, const BigRat &b)
BigRat operator/ (const BigRat &a, const BigRat &b)
BigRat div_exact (const BigRat &x, const BigRat &y)
 divisible(x,y) = "x | y"
BigInt numerator (const BigRat &a)
 numerator
BigInt denominator (const BigRat &a)
 denominator
BigRat gcd (const BigRat &x, const BigRat &y)
bool isInteger (const BigRat &x)
bool isDivisible (const BigRat &x, const BigRat &y)
BigRat operator<< (const BigRat &a, unsigned long ul)
BigRat operator>> (const BigRat &a, unsigned long ul)
int cmp (const BigRat &x, const BigRat &y)
bool operator== (const BigRat &a, const BigRat &b)
bool operator!= (const BigRat &a, const BigRat &b)
bool operator>= (const BigRat &a, const BigRat &b)
bool operator> (const BigRat &a, const BigRat &b)
bool operator<= (const BigRat &a, const BigRat &b)
bool operator< (const BigRat &a, const BigRat &b)
std::ostream & operator<< (std::ostream &o, const BigRat &x)
std::istream & operator>> (std::istream &i, BigRat &x)
int sign (const BigRat &a)
 sign
BigRat abs (const BigRat &a)
 abs
BigRat neg (const BigRat &a)
 neg
BigRat div2 (const BigRat &a)
 div2
long longValue (const BigRat &a)
 longValue
double doubleValue (const BigRat &a)
 doubleValue
BigInt BigIntValue (const BigRat &a)
 return BigInt value

Typedef Documentation


Function Documentation

BigRat abs ( const BigRat a) [inline]

abs

Here is the call graph for this function:

BigInt BigIntValue ( const BigRat a) [inline]

return BigInt value

Here is the call graph for this function:

int cmp ( const BigRat x,
const BigRat y 
) [inline]

Here is the call graph for this function:

BigInt denominator ( const BigRat a) [inline]

denominator

Here is the call graph for this function:

Here is the caller graph for this function:

BigRat div2 ( const BigRat a) [inline]

div2

Here is the call graph for this function:

BigRat div_exact ( const BigRat x,
const BigRat y 
) [inline]

divisible(x,y) = "x | y"

Here is the call graph for this function:

double doubleValue ( const BigRat a) [inline]

doubleValue

Here is the call graph for this function:

BigRat gcd ( const BigRat x,
const BigRat y 
) [inline]

Here is the call graph for this function:

bool isDivisible ( const BigRat x,
const BigRat y 
) [inline]

Here is the call graph for this function:

bool isInteger ( const BigRat x) [inline]

Here is the call graph for this function:

Here is the caller graph for this function:

long longValue ( const BigRat a) [inline]

longValue

Here is the call graph for this function:

BigRat neg ( const BigRat a) [inline]

neg

Here is the call graph for this function:

BigInt numerator ( const BigRat a) [inline]

numerator

Here is the call graph for this function:

Here is the caller graph for this function:

bool operator!= ( const BigRat a,
const BigRat b 
) [inline]

Here is the call graph for this function:

BigRat operator* ( const BigRat a,
const BigRat b 
) [inline]

Here is the call graph for this function:

BigRat operator+ ( const BigRat a,
const BigRat b 
) [inline]

Here is the call graph for this function:

BigRat operator- ( const BigRat a,
const BigRat b 
) [inline]

Here is the call graph for this function:

BigRat operator/ ( const BigRat a,
const BigRat b 
) [inline]

Here is the call graph for this function:

bool operator< ( const BigRat a,
const BigRat b 
) [inline]

Here is the call graph for this function:

BigRat operator<< ( const BigRat a,
unsigned long  ul 
) [inline]

Here is the call graph for this function:

std::ostream& operator<< ( std::ostream &  o,
const BigRat x 
) [inline]

Here is the call graph for this function:

bool operator<= ( const BigRat a,
const BigRat b 
) [inline]

Here is the call graph for this function:

bool operator== ( const BigRat a,
const BigRat b 
) [inline]

Here is the call graph for this function:

bool operator> ( const BigRat a,
const BigRat b 
) [inline]

Here is the call graph for this function:

bool operator>= ( const BigRat a,
const BigRat b 
) [inline]

Here is the call graph for this function:

BigRat operator>> ( const BigRat a,
unsigned long  ul 
) [inline]

Here is the call graph for this function:

std::istream& operator>> ( std::istream &  i,
BigRat x 
) [inline]

Here is the call graph for this function:

int sign ( const BigRat a) [inline]

sign

Here is the call graph for this function:

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines