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 auto 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 uint128 operator% ( const uint128 a,
const uint128 b 
)
constexpr

Definition at line 197 of file uint128.hh.

◆ operator&()

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

Definition at line 211 of file uint128.hh.

◆ operator&&()

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

Definition at line 230 of file uint128.hh.

◆ operator*()

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

Definition at line 189 of file uint128.hh.

Referenced by enumerate(), and StringOp::split_view().

◆ operator+()

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

Definition at line 181 of file uint128.hh.

◆ operator-()

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

Definition at line 185 of file uint128.hh.

◆ operator/()

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

Definition at line 193 of file uint128.hh.

◆ operator<<()

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

Definition at line 206 of file uint128.hh.

◆ operator<=>()

constexpr auto operator<=> ( const uint128 a,
const uint128 b 
)
constexpr

Definition at line 224 of file uint128.hh.

◆ operator>>()

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

Definition at line 202 of file uint128.hh.

◆ operator^()

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

Definition at line 219 of file uint128.hh.

◆ operator|()

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

Definition at line 215 of file uint128.hh.

◆ operator||()

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

Definition at line 234 of file uint128.hh.