Public Member Functions | |
bigfraction (bignum n) | |
bigfraction (long int n) | |
bigfraction (bignum n, bignum d) | |
const bigfraction & | operator= (bigfraction other) |
const bigfraction & | operator= (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) |