rationalt inverse(const rationalt &n)
rationalt & operator+=(const rationalt &n)
const mp_integer & get_numerator() const
#define PRECONDITION(CONDITION)
rationalt & operator-=(const rationalt &n)
std::ostream & operator<<(std::ostream &out, const rationalt &a)
void same_denominator(rationalt &n)
const mp_integer & get_denominator() const
rationalt & operator*=(const rationalt &n)
rationalt & operator/=(const rationalt &n)
const std::string integer2string(const mp_integer &n, unsigned base)