Arithmetic

The arithmetic classes provide at least the following operations (self_t is the cooresponding type name):

self_t(int n);
self_t& self_t::operator += (const self_t&);
self_t& self_t::operator -= (const self_t&);
self_t& self_t::operator *= (const self_t&);
self_t& self_t::operator /= (const self_t&);
self_t operator - (const self_t& x);
self_t operator +(const self_t& x, const self_t& y);
self_t operator -(const self_t& x, const self_t& y);
self_t operator *(const self_t& x, const self_t& y);
self_t operator /(const self_t& x, const self_t& y);

bool operator ==(const self_t& x, const self_t& y);
bool operator !=(const self_t& x, const self_t& y);


SYNAPS DOCUMENTATION
logo