|
openMSX
|
Unsigned 128-bit integer type. More...
#include <uint128.hh>
Public Member Functions | |
| uint128 (const uint128 &a) | |
| uint128 (uint64_t a) | |
| bool | operator! () const |
| uint128 | operator~ () const |
| uint128 | operator- () const |
| uint128 & | operator++ () |
| uint128 & | operator-- () |
| uint128 | operator++ (int) |
| uint128 | operator-- (int) |
| uint128 & | operator+= (const uint128 &b) |
| uint128 & | operator-= (const uint128 &b) |
| uint128 & | operator>>= (unsigned n) |
| uint128 & | operator<<= (unsigned n) |
| uint128 & | operator|= (const uint128 &b) |
| uint128 & | operator&= (const uint128 &b) |
| uint128 & | operator^= (const uint128 &b) |
| uint128 & | operator/= (const uint128 &b) |
| uint128 & | operator%= (const uint128 &b) |
| uint128 & | operator*= (const uint128 &b) |
Friends | |
| bool | operator< (const uint128 &, const uint128 &) |
| bool | operator== (const uint128 &, const uint128 &) |
| bool | operator|| (const uint128 &, const uint128 &) |
| bool | operator&& (const uint128 &, const uint128 &) |
| uint64_t | toUint64 (const uint128 &) |
Unsigned 128-bit integer type.
Very simple implementation, not optimized for speed.
Loosely based on the 128-bit utility classes written by Jan Ringos, http://Tringi.Mx-3.cz
Definition at line 21 of file uint128.hh.
|
inline |
Definition at line 24 of file uint128.hh.
|
inline |
Definition at line 25 of file uint128.hh.
|
inline |
Definition at line 27 of file uint128.hh.
Definition at line 130 of file uint128.hh.
Definition at line 111 of file uint128.hh.
Definition at line 9 of file uint128.cc.
|
inline |
Definition at line 43 of file uint128.hh.
|
inline |
Definition at line 55 of file uint128.hh.
Definition at line 68 of file uint128.hh.
|
inline |
Definition at line 36 of file uint128.hh.
|
inline |
Definition at line 49 of file uint128.hh.
|
inline |
Definition at line 61 of file uint128.hh.
Definition at line 75 of file uint128.hh.
Definition at line 124 of file uint128.hh.
|
inline |
Definition at line 92 of file uint128.hh.
|
inline |
Definition at line 80 of file uint128.hh.
Definition at line 117 of file uint128.hh.
Definition at line 105 of file uint128.hh.
|
inline |
Definition at line 32 of file uint128.hh.
Definition at line 224 of file uint128.hh.
Definition at line 199 of file uint128.hh.
Definition at line 215 of file uint128.hh.
Definition at line 228 of file uint128.hh.
|
friend |
Definition at line 233 of file uint128.hh.
1.8.1.2