Operators
A list of prototypes for the arithmetic operations.
// prototypes for arithmetic operations, including unary negationconst rational operator + (const rational &, const rational &);const rational operator - (const rational &, const rational &);const rational operator * (const rational &, const rational &);const rational operator / (const rational &, const rational &);const rational operator - (const rational &);bool operator < (const rational &, const rational &);bool operator == (const rational &, const rational &);