v8
V8 is Google’s open source high-performance JavaScript and WebAssembly engine, written in C++.
Loading...
Searching...
No Matches
v8::base::UInt128 Class Reference
Collaboration diagram for v8::base::UInt128:

Public Member Functions

 UInt128 ()
 
 UInt128 (uint64_t high, uint64_t low)
 
void Multiply (uint32_t multiplicand)
 
void Shift (int shift_amount)
 
int DivModPowerOf2 (int power)
 
bool IsZero () const
 
int BitAt (int position)
 

Private Attributes

uint64_t high_bits_
 
uint64_t low_bits_
 

Static Private Attributes

static const uint64_t kMask32 = 0xFFFFFFFF
 

Detailed Description

Definition at line 19 of file fixed-dtoa.cc.

Constructor & Destructor Documentation

◆ UInt128() [1/2]

v8::base::UInt128::UInt128 ( )
inline

Definition at line 21 of file fixed-dtoa.cc.

◆ UInt128() [2/2]

v8::base::UInt128::UInt128 ( uint64_t high,
uint64_t low )
inline

Definition at line 22 of file fixed-dtoa.cc.

Member Function Documentation

◆ BitAt()

int v8::base::UInt128::BitAt ( int position)
inline

Definition at line 81 of file fixed-dtoa.cc.

Here is the caller graph for this function:

◆ DivModPowerOf2()

int v8::base::UInt128::DivModPowerOf2 ( int power)
inline

Definition at line 64 of file fixed-dtoa.cc.

Here is the caller graph for this function:

◆ IsZero()

bool v8::base::UInt128::IsZero ( ) const
inline

Definition at line 79 of file fixed-dtoa.cc.

Here is the caller graph for this function:

◆ Multiply()

void v8::base::UInt128::Multiply ( uint32_t multiplicand)
inline

Definition at line 24 of file fixed-dtoa.cc.

Here is the caller graph for this function:

◆ Shift()

void v8::base::UInt128::Shift ( int shift_amount)
inline

Definition at line 41 of file fixed-dtoa.cc.

Here is the caller graph for this function:

Member Data Documentation

◆ high_bits_

uint64_t v8::base::UInt128::high_bits_
private

Definition at line 92 of file fixed-dtoa.cc.

◆ kMask32

const uint64_t v8::base::UInt128::kMask32 = 0xFFFFFFFF
staticprivate

Definition at line 90 of file fixed-dtoa.cc.

◆ low_bits_

uint64_t v8::base::UInt128::low_bits_
private

Definition at line 93 of file fixed-dtoa.cc.


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