Home
last modified time | relevance | path

Searched refs:kBigitMask (Results 1 – 2 of 2) sorted by relevance

/external/v8/src/
Dbignum.cc48 bigits_[i] = static_cast<Chunk>(value & kBigitMask); in AssignUInt64()
176 bigits_[bigit_pos] = sum & kBigitMask; in AddBignum()
183 bigits_[bigit_pos] = sum & kBigitMask; in AddBignum()
206 bigits_[i + offset] = difference & kBigitMask; in SubtractBignum()
211 bigits_[i + offset] = difference & kBigitMask; in SubtractBignum()
242 bigits_[i] = static_cast<Chunk>(product & kBigitMask); in MultiplyByUInt32()
247 bigits_[used_digits_] = static_cast<Chunk>(carry & kBigitMask); in MultiplyByUInt32()
267 uint64_t tmp = (carry & kBigitMask) + product_low; in MultiplyByUInt64()
268 bigits_[i] = static_cast<Chunk>(tmp & kBigitMask); in MultiplyByUInt64()
274 bigits_[used_digits_] = static_cast<Chunk>(carry & kBigitMask); in MultiplyByUInt64()
[all …]
Dbignum.h82 static const Chunk kBigitMask = (1 << kBigitSize) - 1; variable