Public Member Functions | Friends
bigfraction Class Reference

List of all members.

Public Member Functions

 bigfraction (bignum n)
 bigfraction (long int n)
 bigfraction (bignum n, bignum d)
const bigfractionoperator= (bigfraction other)
const bigfractionoperator= (bignum other)
bool is_integer ()
double to_double ()
string to_string ()
void operator*= (bigfraction &other)
void operator*= (bignum other)
void operator/= (bigfraction &other)
void operator/= (bignum other)
void operator+= (bigfraction other)
void operator+= (bignum other)
void operator-= (bigfraction other)
void operator-= (bignum other)
bigfraction operator* (bigfraction &other)
bigfraction operator* (bignum other)
bigfraction operator/ (bigfraction &other)
bigfraction operator/ (bignum other)
bigfraction operator+ (bigfraction &other)
bigfraction operator+ (bignum other)
bigfraction operator- (bigfraction &other)
bigfraction operator- (bignum other)
bigfraction operator- ()
bool operator== (bigfraction other)
bool operator!= (bigfraction other)
bool operator!= (bignum other)
bool operator< (bigfraction other)
bool operator< (bignum other)
bool operator<= (bigfraction other)
bool operator<= (bignum other)
bool operator> (bigfraction other)
bool operator> (bignum other)
bool operator>= (bigfraction other)
bool operator>= (bignum other)
bignum round_down ()
bignum round_up ()
bignum get_numerator ()
bignum get_denominator ()

Friends

ostream & operator<< (ostream &os, const bigfraction &obj)

The documentation for this class was generated from the following file: