|
| void | InitializeDigits (uint32_t length, uint8_t value=0) |
| |
| bigint::RWDigits | rw_digits () |
| |
| void | set_sign (bool new_sign) |
| |
| void | set_length (uint32_t new_length, ReleaseStoreTag) |
| |
| void | initialize_bitfield (bool sign, uint32_t length) |
| |
| void | set_digit (uint32_t n, digit_t value) |
| |
| void | set_64_bits (uint64_t bits) |
| |
| void | clear_padding () |
| |
| uint32_t | length () const |
| |
| uint32_t | length (AcquireLoadTag) const |
| |
| bigint::Digits | digits () const |
| |
| | HeapObjectLayout ()=delete |
| |
| Tagged< Map > | map () const |
| |
| Tagged< Map > | map (AcquireLoadTag) const |
| |
| MapWord | map_word (RelaxedLoadTag) const |
| |
| void | set_map (Isolate *isolate, Tagged< Map > value) |
| |
| template<typename IsolateT > |
| void | set_map (IsolateT *isolate, Tagged< Map > value, ReleaseStoreTag) |
| |
| template<typename IsolateT > |
| void | set_map_safe_transition (IsolateT *isolate, Tagged< Map > value, ReleaseStoreTag) |
| |
| void | set_map_safe_transition_no_write_barrier (Isolate *isolate, Tagged< Map > value, RelaxedStoreTag=kRelaxedStore) |
| |
| template<typename IsolateT > |
| void | set_map_after_allocation (IsolateT *isolate, Tagged< Map > value, WriteBarrierMode mode=UPDATE_WRITE_BARRIER) |
| |
| void | set_map_no_write_barrier (Isolate *isolate, Tagged< Map > value, RelaxedStoreTag=kRelaxedStore) |
| |
| void | set_map_word_forwarded (Tagged< HeapObject > target_object, ReleaseStoreTag) |
| |
| void | set_map_word_forwarded (Tagged< HeapObject > target_object, RelaxedStoreTag) |
| |
| Address | ptr () const |
| |
| Address | address () const |
| |
| ReadOnlyRoots | EarlyGetReadOnlyRoots () const |
| |
| int | Size () const |
| |
| V8_EXPORT_PRIVATE int | SizeFromMap (Tagged< Map > map) const |
| |
| WriteBarrierMode | GetWriteBarrierMode (const DisallowGarbageCollection &promise) |
| |
|
| static MaybeHandle< BigInt > | MakeImmutable (MaybeHandle< MutableBigInt > maybe) |
| |
| template<typename Isolate = v8::internal::Isolate> |
| static Handle< BigInt > | MakeImmutable (Handle< MutableBigInt > result) |
| |
| static void | Canonicalize (Tagged< MutableBigInt > result) |
| |
| template<typename IsolateT > |
| static MaybeHandle< MutableBigInt > | New (IsolateT *isolate, uint32_t length, AllocationType allocation=AllocationType::kYoung) |
| |
| static Handle< BigInt > | NewFromInt (Isolate *isolate, int value) |
| |
| static Handle< BigInt > | NewFromDouble (Isolate *isolate, double value) |
| |
| static Handle< MutableBigInt > | Copy (Isolate *isolate, DirectHandle< BigIntBase > source) |
| |
| template<typename IsolateT > |
| static Handle< BigInt > | Zero (IsolateT *isolate, AllocationType allocation=AllocationType::kYoung) |
| |
| static MaybeHandle< MutableBigInt > | AbsoluteAddOne (Isolate *isolate, DirectHandle< BigIntBase > x, bool sign, Tagged< MutableBigInt > result_storage={}) |
| |
| static Handle< MutableBigInt > | AbsoluteSubOne (Isolate *isolate, DirectHandle< BigIntBase > x) |
| |
| static MaybeDirectHandle< BigInt > | LeftShiftByAbsolute (Isolate *isolate, Handle< BigIntBase > x, Handle< BigIntBase > y) |
| |
| static DirectHandle< BigInt > | RightShiftByAbsolute (Isolate *isolate, Handle< BigIntBase > x, Handle< BigIntBase > y) |
| |
| static DirectHandle< BigInt > | RightShiftByMaximum (Isolate *isolate, bool sign) |
| |
| static Maybe< digit_t > | ToShiftAmount (Handle< BigIntBase > x) |
| |
| static double | ToDouble (DirectHandle< BigIntBase > x) |
| |
| static Rounding | DecideRounding (DirectHandle< BigIntBase > x, int mantissa_bits_unset, int digit_index, uint64_t current_digit) |
| |
| static uint64_t | GetRawBits (BigIntBase *x, bool *lossless) |
| |
| static bool | digit_ismax (digit_t x) |
| |
| static bool | IsMutableBigInt (Tagged< MutableBigInt > o) |
| |
Definition at line 52 of file bigint.cc.
◆ Rounding
| Enumerator |
|---|
| kRoundDown | |
| kTie | |
| kRoundUp | |
Definition at line 97 of file bigint.cc.
◆ AbsoluteAddOne()
◆ AbsoluteSubOne()
◆ Canonicalize()
◆ Copy()
◆ DecideRounding()
◆ digit_ismax()
| static bool v8::internal::MutableBigInt::digit_ismax |
( |
digit_t | x | ) |
|
|
inlinestatic |
◆ GetRawBits()
| uint64_t v8::internal::MutableBigInt::GetRawBits |
( |
BigIntBase * | x, |
|
|
bool * | lossless ) |
|
static |
◆ initialize_bitfield()
| void v8::internal::MutableBigInt::initialize_bitfield |
( |
bool | sign, |
|
|
uint32_t | length ) |
|
inline |
◆ InitializeDigits()
| void v8::internal::MutableBigInt::InitializeDigits |
( |
uint32_t | length, |
|
|
uint8_t | value = 0 ) |
◆ IsMutableBigInt()
◆ LeftShiftByAbsolute()
◆ MakeImmutable() [1/2]
template<typename IsolateT >
◆ MakeImmutable() [2/2]
◆ New()
template<typename IsolateT >
◆ NewFromDouble()
| Handle< BigInt > v8::internal::MutableBigInt::NewFromDouble |
( |
Isolate * | isolate, |
|
|
double | value ) |
|
static |
◆ NewFromInt()
◆ RightShiftByAbsolute()
◆ RightShiftByMaximum()
◆ rw_digits()
◆ set_64_bits()
| void v8::internal::MutableBigInt::set_64_bits |
( |
uint64_t | bits | ) |
|
◆ set_digit()
| void v8::internal::MutableBigInt::set_digit |
( |
uint32_t | n, |
|
|
digit_t | value ) |
|
inline |
◆ set_length()
| void v8::internal::MutableBigInt::set_length |
( |
uint32_t | new_length, |
|
|
ReleaseStoreTag | ) |
|
inline |
◆ set_sign()
| void v8::internal::MutableBigInt::set_sign |
( |
bool | new_sign | ) |
|
|
inline |
◆ ToDouble()
◆ ToShiftAmount()
◆ Zero()
template<typename IsolateT >
The documentation for this class was generated from the following file: