![]() |
Go to the source code of this file.
Macros | |
#define | GMPRAT_CC |
Functions | |
Rational | operator- (const Rational &r) |
bool | operator< (const Rational &a, const Rational &b) |
bool | operator<= (const Rational &a, const Rational &b) |
bool | operator> (const Rational &a, const Rational &b) |
bool | operator>= (const Rational &a, const Rational &b) |
bool | operator== (const Rational &a, const Rational &b) |
bool | operator!= (const Rational &a, const Rational &b) |
Rational | operator+ (const Rational &a, const Rational &b) |
Rational | operator- (const Rational &a, const Rational &b) |
Rational | operator* (const Rational &a, const Rational &b) |
Rational | pow (const Rational &a, int e) |
Rational | operator/ (const Rational &a, const Rational &b) |
int | sgn (const Rational &a) |
Rational | abs (const Rational &a) |
Rational | gcd (const Rational &a, const Rational &b) |
Rational | gcd (Rational *a, int n) |
Rational | lcm (const Rational &a, const Rational &b) |
Rational | lcm (Rational *a, int n) |
Definition at line 436 of file GMPrat.cc.
Definition at line 448 of file GMPrat.cc.
Definition at line 478 of file GMPrat.cc.
Definition at line 509 of file GMPrat.cc.
Definition at line 403 of file GMPrat.cc.
Definition at line 385 of file GMPrat.cc.
Definition at line 187 of file GMPrat.cc.
Definition at line 394 of file GMPrat.cc.
Definition at line 422 of file GMPrat.cc.
Definition at line 411 of file GMPrat.cc.