openMSX
|
Unsigned 128-bit integer type. More...
#include <uint128.hh>
Public Member Functions | |
constexpr | uint128 (uint64_t a) |
constexpr bool | operator! () const |
constexpr uint128 | operator~ () const |
constexpr uint128 | operator- () const |
constexpr uint128 & | operator++ () |
constexpr uint128 & | operator-- () |
constexpr uint128 | operator++ (int) |
constexpr uint128 | operator-- (int) |
constexpr uint128 & | operator+= (const uint128 &b) |
constexpr uint128 & | operator-= (const uint128 &b) |
constexpr uint128 & | operator>>= (unsigned n) |
constexpr uint128 & | operator<<= (unsigned n) |
constexpr uint128 & | operator|= (const uint128 &b) |
constexpr uint128 & | operator&= (const uint128 &b) |
constexpr uint128 & | operator^= (const uint128 &b) |
constexpr uint128 & | operator/= (const uint128 &b) |
constexpr uint128 & | operator%= (const uint128 &b) |
constexpr uint128 & | operator*= (const uint128 &b) |
Friends | |
constexpr friend uint64_t | low64 (const uint128 &a) |
constexpr friend uint64_t | high64 (const uint128 &a) |
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 23 of file uint128.hh.
|
inlineconstexpr |
Definition at line 26 of file uint128.hh.
|
inlineconstexpr |
Definition at line 28 of file uint128.hh.
Definition at line 131 of file uint128.hh.
Definition at line 112 of file uint128.hh.
Definition at line 256 of file uint128.hh.
References t.
|
inlineconstexpr |
Definition at line 44 of file uint128.hh.
|
inlineconstexpr |
Definition at line 56 of file uint128.hh.
Definition at line 69 of file uint128.hh.
|
inlineconstexpr |
Definition at line 37 of file uint128.hh.
|
inlineconstexpr |
Definition at line 50 of file uint128.hh.
|
inlineconstexpr |
Definition at line 62 of file uint128.hh.
Definition at line 76 of file uint128.hh.
Definition at line 125 of file uint128.hh.
|
inlineconstexpr |
Definition at line 93 of file uint128.hh.
|
inlineconstexpr |
Definition at line 81 of file uint128.hh.
Definition at line 118 of file uint128.hh.
Definition at line 106 of file uint128.hh.
|
inlineconstexpr |
Definition at line 33 of file uint128.hh.
|
friend |
Definition at line 169 of file uint128.hh.
|
friend |
Definition at line 164 of file uint128.hh.