ZenLib
|
#include <int128u.h>
Public Member Functions | |
uint128 () throw () | |
uint128 (const uint128 &a) throw () | |
uint128 (const int &a) throw () | |
uint128 (const unsigned int &a) throw () | |
uint128 (const int64u &a) throw () | |
uint128 (const float a) throw () | |
uint128 (const double &a) throw () | |
uint128 (const long double &a) throw () | |
uint128 (const char *sz) throw () | |
bool | operator! () const throw () |
uint128 | operator- () const throw () |
uint128 | operator~ () const throw () |
uint128 & | operator++ () |
uint128 & | operator-- () |
uint128 | operator++ (int) |
uint128 | operator-- (int) |
uint128 & | operator+= (const uint128 &b) throw () |
uint128 & | operator*= (const uint128 &b) throw () |
uint128 & | operator>>= (unsigned int n) throw () |
uint128 & | operator<<= (unsigned int n) throw () |
uint128 & | operator|= (const uint128 &b) throw () |
uint128 & | operator&= (const uint128 &b) throw () |
uint128 & | operator^= (const uint128 &b) throw () |
const uint128 & | operator+ () const throw () |
uint128 & | operator-= (const uint128 &b) throw () |
uint128 & | operator/= (const uint128 &b) throw () |
uint128 & | operator%= (const uint128 &b) throw () |
unsigned int | toUint () const throw () |
int64u | toUint64 () const throw () |
const char * | toString (unsigned int radix=10) const throw () |
float | toFloat () const throw () |
double | toDouble () const throw () |
long double | toLongDouble () const throw () |
uint128 | div (const uint128 &, uint128 &) const throw () |
bool | bit (unsigned int n) const throw () |
void | bit (unsigned int n, bool val) throw () |
Public Attributes | |
int64u | lo |
int64u | hi |
Friends | |
bool | operator< (const uint128 &, const uint128 &) throw () |
bool | operator== (const uint128 &, const uint128 &) throw () |
bool | operator|| (const uint128 &, const uint128 &) throw () |
bool | operator&& (const uint128 &, const uint128 &) throw () |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
References hi, lo, operator!(), operator&=(), operator*=(), operator++(), operator+=(), operator-(), operator--(), operator<<=(), operator>>=(), operator^=(), operator|=(), operator~(), and uint128().
ZenLib::uint128::uint128 | ( | const float | a | ) | |
throw | ( | ||||
) |
ZenLib::uint128::uint128 | ( | const double & | a | ) | |
throw | ( | ||||
) |
ZenLib::uint128::uint128 | ( | const long double & | a | ) | |
throw | ( | ||||
) |
ZenLib::uint128::uint128 | ( | const char * | sz | ) | |
throw | ( | ||||
) |
bool ZenLib::uint128::bit | ( | unsigned int | n | ) | const |
throw | ( | ||||
) |
Referenced by toUint64().
void ZenLib::uint128::bit | ( | unsigned int | n, |
bool | val | ||
) | |||
throw | ( | ||
) |
Referenced by operator%=(), operator/=(), and toUint64().
bool ZenLib::uint128::operator! | ( | ) | const | |
throw | ( | |||
) |
Referenced by uint128().
|
inline |
uint128 ZenLib::uint128::operator++ | ( | int | ) |
uint128 ZenLib::uint128::operator-- | ( | int | ) |
double ZenLib::uint128::toDouble | ( | ) | const | |
throw | ( | |||
) |
Referenced by toUint64().
float ZenLib::uint128::toFloat | ( | ) | const | |
throw | ( | |||
) |
Referenced by toUint64().
long double ZenLib::uint128::toLongDouble | ( | ) | const | |
throw | ( | |||
) |
Referenced by toUint64().
const char* ZenLib::uint128::toString | ( | unsigned int | radix = 10 | ) | const |
throw | ( | ||||
) |
Referenced by toUint64().
|
inline |
References lo.
|
inline |
References bit(), div(), lo, operator&&, operator<, operator==, operator||, toDouble(), toFloat(), toLongDouble(), and toString().
Referenced by toUint64().
Referenced by toUint64().
Referenced by toUint64().
Referenced by toUint64().
int64u ZenLib::uint128::hi |
Referenced by uint128().
int64u ZenLib::uint128::lo |
Referenced by toUint(), toUint64(), and uint128().