xoreos
0.0.5
|
Rational number implementation. More...
Go to the source code of this file.
Classes | |
class | Common::Rational |
A simple rational class that holds fractions. More... | |
Namespaces | |
Common | |
Functions | |
const Rational | Common::operator+ (int left, const Rational &right) |
const Rational | Common::operator- (int left, const Rational &right) |
const Rational | Common::operator* (int left, const Rational &right) |
const Rational | Common::operator/ (int left, const Rational &right) |
bool | Common::operator== (int left, const Rational &right) |
bool | Common::operator!= (int left, const Rational &right) |
bool | Common::operator> (int left, const Rational &right) |
bool | Common::operator< (int left, const Rational &right) |
bool | Common::operator>= (int left, const Rational &right) |
bool | Common::operator<= (int left, const Rational &right) |
Rational number implementation.
Definition in file rational.h.