openMSX
Classes | Functions
uint128.hh File Reference
#include <cstdint>
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

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

Function Documentation

◆ operator &()

uint128 operator& ( const uint128 a,
const uint128 b 
)
inline

Definition at line 186 of file uint128.hh.

◆ operator &&()

bool operator&& ( const uint128 a,
const uint128 b 
)
inline

Definition at line 224 of file uint128.hh.

◆ operator!=()

bool operator!= ( const uint128 a,
const uint128 b 
)
inline

Definition at line 219 of file uint128.hh.

◆ operator%()

uint128 operator% ( const uint128 a,
const uint128 b 
)
inline

Definition at line 172 of file uint128.hh.

◆ operator*()

uint128 operator* ( const uint128 a,
const uint128 b 
)
inline

Definition at line 164 of file uint128.hh.

◆ operator+()

uint128 operator+ ( const uint128 a,
const uint128 b 
)
inline

Definition at line 156 of file uint128.hh.

◆ operator-()

uint128 operator- ( const uint128 a,
const uint128 b 
)
inline

Definition at line 160 of file uint128.hh.

◆ operator/()

uint128 operator/ ( const uint128 a,
const uint128 b 
)
inline

Definition at line 168 of file uint128.hh.

◆ operator<()

bool operator< ( const uint128 a,
const uint128 b 
)
inline

Definition at line 199 of file uint128.hh.

◆ operator<<()

uint128 operator<< ( const uint128 a,
unsigned  n 
)
inline

Definition at line 181 of file uint128.hh.

◆ operator<=()

bool operator<= ( const uint128 a,
const uint128 b 
)
inline

Definition at line 207 of file uint128.hh.

◆ operator==()

bool operator== ( const uint128 a,
const uint128 b 
)
inline

Definition at line 215 of file uint128.hh.

◆ operator>()

bool operator> ( const uint128 a,
const uint128 b 
)
inline

Definition at line 203 of file uint128.hh.

◆ operator>=()

bool operator>= ( const uint128 a,
const uint128 b 
)
inline

Definition at line 211 of file uint128.hh.

◆ operator>>()

uint128 operator>> ( const uint128 a,
unsigned  n 
)
inline

Definition at line 177 of file uint128.hh.

◆ operator^()

uint128 operator^ ( const uint128 a,
const uint128 b 
)
inline

Definition at line 194 of file uint128.hh.

◆ operator|()

uint128 operator| ( const uint128 a,
const uint128 b 
)
inline

Definition at line 190 of file uint128.hh.

◆ operator||()

bool operator|| ( const uint128 a,
const uint128 b 
)
inline

Definition at line 228 of file uint128.hh.

◆ toUint64()

uint64_t toUint64 ( const uint128 a)
inline

Definition at line 233 of file uint128.hh.

Referenced by openmsx::DivModBySame::setDivisor().