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