openMSX
|
Unsigned 128-bit integer type. More...
#include <uint128.hh>
Public Member Functions | |
constexpr | uint128 (uint64_t a) |
constexpr bool | operator== (const uint128 &) const =default |
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 uint64_t | low64 (const uint128 &a) |
constexpr 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 25 of file uint128.hh.
|
inlineconstexpr |
Definition at line 28 of file uint128.hh.
|
inlineconstexpr |
Definition at line 32 of file uint128.hh.
Definition at line 135 of file uint128.hh.
Definition at line 116 of file uint128.hh.
Definition at line 244 of file uint128.hh.
References t.
|
inlineconstexpr |
Definition at line 48 of file uint128.hh.
|
inlineconstexpr |
Definition at line 60 of file uint128.hh.
Definition at line 73 of file uint128.hh.
|
inlineconstexpr |
Definition at line 41 of file uint128.hh.
|
inlineconstexpr |
Definition at line 54 of file uint128.hh.
|
inlineconstexpr |
Definition at line 66 of file uint128.hh.
Definition at line 80 of file uint128.hh.
Definition at line 129 of file uint128.hh.
|
inlineconstexpr |
Definition at line 97 of file uint128.hh.
|
constexprdefault |
|
inlineconstexpr |
Definition at line 85 of file uint128.hh.
Definition at line 122 of file uint128.hh.
Definition at line 110 of file uint128.hh.
|
inlineconstexpr |
Definition at line 37 of file uint128.hh.
|
friend |
Definition at line 173 of file uint128.hh.
|
friend |
Definition at line 168 of file uint128.hh.