xoreos  0.0.5
Classes | Namespaces | Functions
rational.h File Reference

Rational number implementation. More...

This graph shows which files directly or indirectly include this file:

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)
 

Detailed Description

Rational number implementation.

Definition in file rational.h.