Public Member Functions | Private Member Functions | Friends | List of all members
absl::uint128 Class Reference

#include <int128.h>

Public Member Functions

uint128operator &= (uint128 other)
 
constexpr operator ABSL_INTERNAL_WCHAR_T () const
 
constexpr operator bool () const
 
constexpr operator char () const
 
constexpr operator char16_t () const
 
constexpr operator char32_t () const
 
 operator double () const
 
 operator float () const
 
constexpr operator int () const
 
constexpr operator long () const
 
 operator long double () const
 
constexpr operator long long () const
 
constexpr operator short () const
 
constexpr operator signed char () const
 
constexpr operator unsigned char () const
 
constexpr operator unsigned int () const
 
constexpr operator unsigned long () const
 
constexpr operator unsigned long long () const
 
constexpr operator unsigned short () const
 
uint128operator%= (uint128 other)
 
uint128operator*= (uint128 other)
 
uint128 operator++ (int)
 
uint128operator++ ()
 
uint128operator+= (uint128 other)
 
uint128 operator-- (int)
 
uint128operator-- ()
 
uint128operator-= (uint128 other)
 
uint128operator/= (uint128 other)
 
uint128operator<<= (int)
 
uint128operator= (int v)
 
uint128operator= (unsigned int v)
 
uint128operator= (long v)
 
uint128operator= (unsigned long v)
 
uint128operator= (long long v)
 
uint128operator= (unsigned long long v)
 
uint128operator>>= (int)
 
uint128operator^= (uint128 other)
 
uint128operator|= (uint128 other)
 
 uint128 ()=default
 
constexpr uint128 (int v)
 
constexpr uint128 (unsigned int v)
 
constexpr uint128 (long v)
 
constexpr uint128 (unsigned long v)
 
constexpr uint128 (long long v)
 
constexpr uint128 (unsigned long long v)
 
 uint128 (float v)
 
 uint128 (double v)
 
 uint128 (long double v)
 

Private Member Functions

constexpr uint128 (uint64_t high, uint64_t low)
 

Friends

template<typename H >
AbslHashValue (H h, uint128 v)
 
constexpr uint128 MakeUint128 (uint64_t high, uint64_t low)
 
constexpr uint64_t Uint128High64 (uint128 v)
 
constexpr uint64_t Uint128Low64 (uint128 v)
 
constexpr uint128 Uint128Max ()
 

Detailed Description

Definition at line 100 of file int128.h.

Constructor & Destructor Documentation

◆ uint128() [1/11]

absl::uint128::uint128 ( )
default

◆ uint128() [2/11]

constexpr absl::uint128::uint128 ( int  v)

◆ uint128() [3/11]

constexpr absl::uint128::uint128 ( unsigned int  v)

◆ uint128() [4/11]

constexpr absl::uint128::uint128 ( long  v)

◆ uint128() [5/11]

constexpr absl::uint128::uint128 ( unsigned long  v)

◆ uint128() [6/11]

constexpr absl::uint128::uint128 ( long long  v)

◆ uint128() [7/11]

constexpr absl::uint128::uint128 ( unsigned long long  v)

◆ uint128() [8/11]

absl::uint128::uint128 ( float  v)
explicit

Definition at line 150 of file int128.cc.

◆ uint128() [9/11]

absl::uint128::uint128 ( double  v)
explicit

Definition at line 151 of file int128.cc.

◆ uint128() [10/11]

absl::uint128::uint128 ( long double  v)
explicit

Definition at line 152 of file int128.cc.

◆ uint128() [11/11]

constexpr absl::uint128::uint128 ( uint64_t  high,
uint64_t  low 
)
private

Member Function Documentation

◆ operator &=()

uint128& absl::uint128::operator&= ( uint128  other)

◆ operator ABSL_INTERNAL_WCHAR_T()

constexpr absl::uint128::operator ABSL_INTERNAL_WCHAR_T ( ) const
explicit

Definition at line 479 of file int128.h.

◆ operator bool()

constexpr absl::uint128::operator bool ( ) const
explicit

Definition at line 459 of file int128.h.

◆ operator char()

constexpr absl::uint128::operator char ( ) const
explicit

Definition at line 461 of file int128.h.

◆ operator char16_t()

constexpr absl::uint128::operator char16_t ( ) const
explicit

Definition at line 471 of file int128.h.

◆ operator char32_t()

constexpr absl::uint128::operator char32_t ( ) const
explicit

Definition at line 475 of file int128.h.

◆ operator double()

absl::uint128::operator double ( ) const
inlineexplicit

Definition at line 527 of file int128.h.

◆ operator float()

absl::uint128::operator float ( ) const
inlineexplicit

Definition at line 523 of file int128.h.

◆ operator int()

constexpr absl::uint128::operator int ( ) const
explicit

Definition at line 490 of file int128.h.

◆ operator long()

constexpr absl::uint128::operator long ( ) const
explicit

Definition at line 497 of file int128.h.

◆ operator long double()

absl::uint128::operator long double ( ) const
inlineexplicit

Definition at line 531 of file int128.h.

◆ operator long long()

constexpr absl::uint128::operator long long ( ) const
explicit

Definition at line 503 of file int128.h.

◆ operator short()

constexpr absl::uint128::operator short ( ) const
explicit

Definition at line 484 of file int128.h.

◆ operator signed char()

constexpr absl::uint128::operator signed char ( ) const
explicit

Definition at line 463 of file int128.h.

◆ operator unsigned char()

constexpr absl::uint128::operator unsigned char ( ) const
explicit

Definition at line 467 of file int128.h.

◆ operator unsigned int()

constexpr absl::uint128::operator unsigned int ( ) const
explicit

Definition at line 492 of file int128.h.

◆ operator unsigned long()

constexpr absl::uint128::operator unsigned long ( ) const
explicit

Definition at line 499 of file int128.h.

◆ operator unsigned long long()

constexpr absl::uint128::operator unsigned long long ( ) const
explicit

Definition at line 507 of file int128.h.

◆ operator unsigned short()

constexpr absl::uint128::operator unsigned short ( ) const
explicit

Definition at line 486 of file int128.h.

◆ operator%=()

uint128 & absl::uint128::operator%= ( uint128  other)
inline

Definition at line 382 of file int128.h.

◆ operator*=()

uint128 & absl::uint128::operator*= ( uint128  other)
inline

Definition at line 372 of file int128.h.

◆ operator++() [1/2]

uint128 absl::uint128::operator++ ( int  )
inline

Definition at line 700 of file int128.h.

◆ operator++() [2/2]

uint128 & absl::uint128::operator++ ( )
inline

Definition at line 712 of file int128.h.

◆ operator+=()

uint128 & absl::uint128::operator+= ( uint128  other)
inline

Definition at line 362 of file int128.h.

◆ operator--() [1/2]

uint128 absl::uint128::operator-- ( int  )
inline

Definition at line 706 of file int128.h.

◆ operator--() [2/2]

uint128 & absl::uint128::operator-- ( )
inline

Definition at line 717 of file int128.h.

◆ operator-=()

uint128 & absl::uint128::operator-= ( uint128  other)
inline

Definition at line 367 of file int128.h.

◆ operator/=()

uint128 & absl::uint128::operator/= ( uint128  other)
inline

Definition at line 377 of file int128.h.

◆ operator<<=()

uint128 & absl::uint128::operator<<= ( int  amount)
inline

Definition at line 352 of file int128.h.

◆ operator=() [1/6]

uint128 & absl::uint128::operator= ( int  v)
inline

Definition at line 307 of file int128.h.

◆ operator=() [2/6]

uint128 & absl::uint128::operator= ( unsigned int  v)
inline

Definition at line 309 of file int128.h.

◆ operator=() [3/6]

uint128 & absl::uint128::operator= ( long  v)
inline

Definition at line 313 of file int128.h.

◆ operator=() [4/6]

uint128 & absl::uint128::operator= ( unsigned long  v)
inline

Definition at line 318 of file int128.h.

◆ operator=() [5/6]

uint128 & absl::uint128::operator= ( long long  v)
inline

Definition at line 323 of file int128.h.

◆ operator=() [6/6]

uint128 & absl::uint128::operator= ( unsigned long long  v)
inline

Definition at line 328 of file int128.h.

◆ operator>>=()

uint128 & absl::uint128::operator>>= ( int  amount)
inline

Definition at line 357 of file int128.h.

◆ operator^=()

uint128 & absl::uint128::operator^= ( uint128  other)
inline

Definition at line 617 of file int128.h.

◆ operator|=()

uint128 & absl::uint128::operator|= ( uint128  other)
inline

Definition at line 605 of file int128.h.

Friends And Related Function Documentation

◆ AbslHashValue

template<typename H >
H AbslHashValue ( h,
uint128  v 
)
friend

Definition at line 210 of file int128.h.

◆ MakeUint128

constexpr uint128 MakeUint128 ( uint64_t  high,
uint64_t  low 
)
friend

Definition at line 301 of file int128.h.

◆ Uint128High64

constexpr uint64_t Uint128High64 ( uint128  v)
friend

Definition at line 389 of file int128.h.

◆ Uint128Low64

constexpr uint64_t Uint128Low64 ( uint128  v)
friend

Definition at line 387 of file int128.h.

◆ Uint128Max

constexpr uint128 Uint128Max ( )
friend

Definition at line 242 of file int128.h.


The documentation for this class was generated from the following files:


abseil_cpp
Author(s):
autogenerated on Mon Feb 28 2022 21:31:22