#include <Number.hpp>
Public Methods | |
Number () | |
Number (const U &u_p) | |
int | hash () const |
int | Hash () const |
void | read (istream &is) |
void | write (ostream &os) |
int | operator< (const Number< U > &that) const |
int | operator<= (const Number< U > &that) const |
int | operator> (const Number< U > &that) const |
int | operator>= (const Number< U > &that) const |
int | operator== (const Number< U > &that) const |
int | operator!= (const Number< U > &that) const |
Number< U > | operator+= (const Number< U > &that) |
Number< U > | operator-= (const Number< U > &that) |
Number< U > | operator *= (const Number< U > &that) |
Number< U > | operator/= (const Number< U > &that) |
Number< U > | operator+ (const Number< U > &that) |
Number< U > | operator- (const Number< U > &that) |
Number< U > | operator * (const Number< U > &that) |
Number< U > | operator/ (const Number< U > &that) |
operator U () const | |
Friends | |
template<U > ostream & | operator<< (ostream &, const Number< U > &) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|