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

#include <bigint.h>

Inheritance diagram for v8::bigint::Digits:
Collaboration diagram for v8::bigint::Digits:

Public Member Functions

 Digits (const digit_t *mem, int len)
 
 Digits (digit_t *mem, int len)
 
 Digits (Digits src, int offset, int len)
 
 Digits ()
 
Digits operator+ (int i)
 
digit_t operator[] (int i)
 
digit_t msd ()
 
bool operator== (const Digits &other) const
 
void Normalize ()
 
void TrimOne ()
 
int len ()
 
const digit_tdigits () const
 

Protected Attributes

digit_tdigits_
 
int len_
 

Private Member Functions

digit_t read_4byte_aligned (int i)
 

Friends

class ShiftedDigits
 

Detailed Description

Definition at line 57 of file bigint.h.

Constructor & Destructor Documentation

◆ Digits() [1/4]

v8::bigint::Digits::Digits ( const digit_t * mem,
int len )
inline

Definition at line 60 of file bigint.h.

◆ Digits() [2/4]

v8::bigint::Digits::Digits ( digit_t * mem,
int len )
inline

Definition at line 66 of file bigint.h.

◆ Digits() [3/4]

v8::bigint::Digits::Digits ( Digits src,
int offset,
int len )
inline

Definition at line 74 of file bigint.h.

◆ Digits() [4/4]

v8::bigint::Digits::Digits ( )
inline

Definition at line 80 of file bigint.h.

Here is the caller graph for this function:

Member Function Documentation

◆ digits()

const digit_t * v8::bigint::Digits::digits ( ) const
inline

Definition at line 114 of file bigint.h.

Here is the caller graph for this function:

◆ len()

int v8::bigint::Digits::len ( )
inline

Definition at line 113 of file bigint.h.

Here is the caller graph for this function:

◆ msd()

digit_t v8::bigint::Digits::msd ( )
inline

Definition at line 94 of file bigint.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ Normalize()

void v8::bigint::Digits::Normalize ( )
inline

Definition at line 104 of file bigint.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ operator+()

Digits v8::bigint::Digits::operator+ ( int i)
inline

Definition at line 83 of file bigint.h.

Here is the call graph for this function:

◆ operator==()

bool v8::bigint::Digits::operator== ( const Digits & other) const
inline

Definition at line 99 of file bigint.h.

◆ operator[]()

digit_t v8::bigint::Digits::operator[] ( int i)
inline

Definition at line 89 of file bigint.h.

Here is the call graph for this function:

◆ read_4byte_aligned()

digit_t v8::bigint::Digits::read_4byte_aligned ( int i)
inlineprivate

Definition at line 125 of file bigint.h.

Here is the caller graph for this function:

◆ TrimOne()

void v8::bigint::Digits::TrimOne ( )
inline

Definition at line 108 of file bigint.h.

Here is the call graph for this function:

Friends And Related Symbol Documentation

◆ ShiftedDigits

friend class ShiftedDigits
friend

Definition at line 117 of file bigint.h.

Member Data Documentation

◆ digits_

digit_t* v8::bigint::Digits::digits_
protected

Definition at line 118 of file bigint.h.

◆ len_

int v8::bigint::Digits::len_
protected

Definition at line 119 of file bigint.h.


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