openMSX
Classes | Functions
uint128.hh File Reference
#include "narrow.hh"
#include <cstdint>
#include <tuple>
#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 199 of file uint128.hh.

◆ operator&()

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

Definition at line 213 of file uint128.hh.

◆ operator&&()

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

Definition at line 235 of file uint128.hh.

◆ operator*()

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

Definition at line 191 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 183 of file uint128.hh.

◆ operator-()

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

Definition at line 187 of file uint128.hh.

◆ operator/()

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

Definition at line 195 of file uint128.hh.

◆ operator<<()

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

Definition at line 208 of file uint128.hh.

◆ operator<=>()

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

Definition at line 226 of file uint128.hh.

◆ operator>>()

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

Definition at line 204 of file uint128.hh.

◆ operator^()

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

Definition at line 221 of file uint128.hh.

◆ operator|()

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

Definition at line 217 of file uint128.hh.

◆ operator||()

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

Definition at line 239 of file uint128.hh.