openMSX
Classes | Functions
uint128.hh File Reference
#include <cstdint>
#include <utility>
Include dependency graph for uint128.hh:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  uint128
 Unsigned 128-bit integer type. More...
 

Functions

constexpr uint128 operator+ (const uint128 &a, const uint128 &b)
 
constexpr uint128 operator- (const uint128 &a, const uint128 &b)
 
constexpr uint128 operator* (const uint128 &a, const uint128 &b)
 
constexpr uint128 operator/ (const uint128 &a, const uint128 &b)
 
constexpr uint128 operator% (const uint128 &a, const uint128 &b)
 
constexpr uint128 operator>> (const uint128 &a, unsigned n)
 
constexpr uint128 operator<< (const uint128 &a, unsigned n)
 
constexpr uint128 operator& (const uint128 &a, const uint128 &b)
 
constexpr uint128 operator| (const uint128 &a, const uint128 &b)
 
constexpr uint128 operator^ (const uint128 &a, const uint128 &b)
 
constexpr bool operator< (const uint128 &a, const uint128 &b)
 
constexpr bool operator> (const uint128 &a, const uint128 &b)
 
constexpr bool operator<= (const uint128 &a, const uint128 &b)
 
constexpr bool operator>= (const uint128 &a, const uint128 &b)
 
constexpr bool operator== (const uint128 &a, const uint128 &b)
 
constexpr bool operator!= (const uint128 &a, const uint128 &b)
 
constexpr bool operator&& (const uint128 &a, const uint128 &b)
 
constexpr bool operator|| (const uint128 &a, const uint128 &b)
 

Function Documentation

◆ operator!=()

constexpr bool operator!= ( const uint128 a,
const uint128 b 
)
inlineconstexpr

Definition at line 242 of file uint128.hh.

◆ operator%()

constexpr uint128 operator% ( const uint128 a,
const uint128 b 
)
inlineconstexpr

Definition at line 195 of file uint128.hh.

◆ operator&()

constexpr uint128 operator& ( const uint128 a,
const uint128 b 
)
inlineconstexpr

Definition at line 209 of file uint128.hh.

◆ operator&&()

constexpr bool operator&& ( const uint128 a,
const uint128 b 
)
inlineconstexpr

Definition at line 247 of file uint128.hh.

◆ operator*()

constexpr uint128 operator* ( const uint128 a,
const uint128 b 
)
inlineconstexpr

Definition at line 187 of file uint128.hh.

◆ operator+()

constexpr uint128 operator+ ( const uint128 a,
const uint128 b 
)
inlineconstexpr

Definition at line 179 of file uint128.hh.

◆ operator-()

constexpr uint128 operator- ( const uint128 a,
const uint128 b 
)
inlineconstexpr

Definition at line 183 of file uint128.hh.

◆ operator/()

constexpr uint128 operator/ ( const uint128 a,
const uint128 b 
)
inlineconstexpr

Definition at line 191 of file uint128.hh.

◆ operator<()

constexpr bool operator< ( const uint128 a,
const uint128 b 
)
inlineconstexpr

Definition at line 222 of file uint128.hh.

◆ operator<<()

constexpr uint128 operator<< ( const uint128 a,
unsigned  n 
)
inlineconstexpr

Definition at line 204 of file uint128.hh.

◆ operator<=()

constexpr bool operator<= ( const uint128 a,
const uint128 b 
)
inlineconstexpr

Definition at line 230 of file uint128.hh.

◆ operator==()

constexpr bool operator== ( const uint128 a,
const uint128 b 
)
inlineconstexpr

Definition at line 238 of file uint128.hh.

◆ operator>()

constexpr bool operator> ( const uint128 a,
const uint128 b 
)
inlineconstexpr

Definition at line 226 of file uint128.hh.

◆ operator>=()

constexpr bool operator>= ( const uint128 a,
const uint128 b 
)
inlineconstexpr

Definition at line 234 of file uint128.hh.

◆ operator>>()

constexpr uint128 operator>> ( const uint128 a,
unsigned  n 
)
inlineconstexpr

Definition at line 200 of file uint128.hh.

◆ operator^()

constexpr uint128 operator^ ( const uint128 a,
const uint128 b 
)
inlineconstexpr

Definition at line 217 of file uint128.hh.

◆ operator|()

constexpr uint128 operator| ( const uint128 a,
const uint128 b 
)
inlineconstexpr

Definition at line 213 of file uint128.hh.

◆ operator||()

constexpr bool operator|| ( const uint128 a,
const uint128 b 
)
inlineconstexpr

Definition at line 251 of file uint128.hh.