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 |