BWAPI
Classes | Defines | Typedefs | Functions | Variables
SPAR/AIModule/BWTA/vendors/CGAL/CGAL/CORE/Real.h File Reference
#include "RealRep.h"
Include dependency graph for Real.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  Real
struct  _real_add
struct  _real_sub
struct  _real_mul
struct  _real_binary_op< Op >
struct  real_div

Defines

#define CORE_REAL_ZERO   Real::getZero()

Typedefs

typedef _real_binary_op
< _real_add
real_add
typedef _real_binary_op
< _real_sub
real_sub
typedef _real_binary_op
< _real_mul
real_mul

Functions

std::istream & operator>> (std::istream &i, Real &r)
std::ostream & operator<< (std::ostream &o, const Real &r)
Real operator+ (const Real &x, const Real &y)
Real operator- (const Real &x, const Real &y)
Real operator* (const Real &x, const Real &y)
Real operator/ (const Real &x, const Real &y)
int cmp (const Real &x, const Real &y)
bool operator== (const Real &x, const Real &y)
bool operator!= (const Real &x, const Real &y)
bool operator>= (const Real &x, const Real &y)
bool operator> (const Real &x, const Real &y)
bool operator<= (const Real &x, const Real &y)
bool operator< (const Real &x, const Real &y)
BigInt floor (const Real &, Real &)
 floor function
Real pow (const Real &, unsigned long)
 power function
int sign (const Real &r)
 return sign
bool isZero (const Real &r)
 is zero?
Real abs (const Real &x)
 absolute value
Real fabs (const Real &x)
 absolute value (same as abs)
BigInt floor (const Real &r)
 floor
BigInt ceil (const Real &r)
 ceiling
Real power (const Real &r, unsigned long p)
 power
Real sqrt (const Real &x)
 square root

Variables

CORE_BEGIN_NAMESPACE typedef
RCImpl< RealRep
RCReal
const long halfLongMax = LONG_MAX /2
const long halfLongMin = LONG_MIN /2

Define Documentation

#define CORE_REAL_ZERO   Real::getZero()

Typedef Documentation


Function Documentation

Real abs ( const Real x) [inline]

absolute value

Here is the call graph for this function:

BigInt ceil ( const Real r) [inline]

ceiling

Here is the call graph for this function:

int cmp ( const Real x,
const Real y 
) [inline]
Real fabs ( const Real x) [inline]

absolute value (same as abs)

Here is the call graph for this function:

BigInt floor ( const Real ,
Real  
)

floor function

BigInt floor ( const Real r) [inline]

floor

Here is the call graph for this function:

bool isZero ( const Real r) [inline]

is zero?

Here is the call graph for this function:

bool operator!= ( const Real x,
const Real y 
) [inline]

Here is the call graph for this function:

Real operator* ( const Real x,
const Real y 
) [inline]

Here is the call graph for this function:

Real operator+ ( const Real x,
const Real y 
) [inline]

Here is the call graph for this function:

Real operator- ( const Real x,
const Real y 
) [inline]

Here is the call graph for this function:

Real operator/ ( const Real x,
const Real y 
) [inline]

Here is the call graph for this function:

bool operator< ( const Real x,
const Real y 
) [inline]

Here is the call graph for this function:

std::ostream& operator<< ( std::ostream &  o,
const Real r 
) [inline]
bool operator<= ( const Real x,
const Real y 
) [inline]

Here is the call graph for this function:

bool operator== ( const Real x,
const Real y 
) [inline]

Here is the call graph for this function:

bool operator> ( const Real x,
const Real y 
) [inline]

Here is the call graph for this function:

bool operator>= ( const Real x,
const Real y 
) [inline]

Here is the call graph for this function:

std::istream& operator>> ( std::istream &  i,
Real r 
)
Real pow ( const Real ,
unsigned  long 
)

power function

Real power ( const Real r,
unsigned long  p 
) [inline]

power

Here is the call graph for this function:

int sign ( const Real r) [inline]

return sign

Here is the call graph for this function:

Real sqrt ( const Real x) [inline]

square root

Here is the call graph for this function:


Variable Documentation

const long halfLongMax = LONG_MAX /2
const long halfLongMin = LONG_MIN /2
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines