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

#include <int128.h>

Public Member Functions

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)
 
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

absl::uint128::uint128 ( )
default
constexpr absl::uint128::uint128 ( int  v)
constexpr absl::uint128::uint128 ( unsigned int  v)
constexpr absl::uint128::uint128 ( long  v)
constexpr absl::uint128::uint128 ( unsigned long  v)
constexpr absl::uint128::uint128 ( long long  v)
constexpr absl::uint128::uint128 ( unsigned long long  v)
absl::uint128::uint128 ( float  v)
explicit

Definition at line 150 of file int128.cc.

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

Definition at line 151 of file int128.cc.

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

Definition at line 152 of file int128.cc.

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

Member Function Documentation

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

Definition at line 479 of file int128.h.

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

Definition at line 459 of file int128.h.

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

Definition at line 461 of file int128.h.

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

Definition at line 471 of file int128.h.

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

Definition at line 475 of file int128.h.

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

Definition at line 527 of file int128.h.

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

Definition at line 523 of file int128.h.

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

Definition at line 490 of file int128.h.

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

Definition at line 497 of file int128.h.

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

Definition at line 531 of file int128.h.

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

Definition at line 503 of file int128.h.

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

Definition at line 484 of file int128.h.

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

Definition at line 463 of file int128.h.

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

Definition at line 467 of file int128.h.

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

Definition at line 492 of file int128.h.

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

Definition at line 499 of file int128.h.

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

Definition at line 507 of file int128.h.

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

Definition at line 486 of file int128.h.

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

Definition at line 382 of file int128.h.

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

Definition at line 611 of file int128.h.

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

Definition at line 372 of file int128.h.

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

Definition at line 700 of file int128.h.

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

Definition at line 712 of file int128.h.

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

Definition at line 362 of file int128.h.

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

Definition at line 706 of file int128.h.

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

Definition at line 717 of file int128.h.

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

Definition at line 367 of file int128.h.

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

Definition at line 377 of file int128.h.

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

Definition at line 352 of file int128.h.

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

Definition at line 307 of file int128.h.

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

Definition at line 309 of file int128.h.

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

Definition at line 313 of file int128.h.

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

Definition at line 318 of file int128.h.

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

Definition at line 323 of file int128.h.

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

Definition at line 328 of file int128.h.

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

Definition at line 357 of file int128.h.

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

Definition at line 617 of file int128.h.

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

Definition at line 605 of file int128.h.

Friends And Related Function Documentation

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

Definition at line 210 of file int128.h.

constexpr uint128 MakeUint128 ( uint64_t  high,
uint64_t  low 
)
friend

Definition at line 301 of file int128.h.

constexpr uint64_t Uint128High64 ( uint128  v)
friend

Definition at line 389 of file int128.h.

constexpr uint64_t Uint128Low64 ( uint128  v)
friend

Definition at line 387 of file int128.h.

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 Wed Jun 19 2019 19:19:59