Home
last modified time | relevance | path

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

/external/icu/icu4c/source/i18n/
Ddouble-conversion-bignum.cpp82 bigits_[i] = value & kBigitMask; in AssignUInt64()
209 bigits_[bigit_pos] = sum & kBigitMask; in AddBignum()
216 bigits_[bigit_pos] = sum & kBigitMask; in AddBignum()
239 bigits_[i + offset] = difference & kBigitMask; in SubtractBignum()
244 bigits_[i + offset] = difference & kBigitMask; in SubtractBignum()
275 bigits_[i] = static_cast<Chunk>(product & kBigitMask); in MultiplyByUInt32()
280 bigits_[used_digits_] = carry & kBigitMask; in MultiplyByUInt32()
300 uint64_t tmp = (carry & kBigitMask) + product_low; in MultiplyByUInt64()
301 bigits_[i] = tmp & kBigitMask; in MultiplyByUInt64()
307 bigits_[used_digits_] = carry & kBigitMask; in MultiplyByUInt64()
[all …]
Ddouble-conversion-bignum.h122 static const Chunk kBigitMask = (1 << kBigitSize) - 1; variable
/external/v8/src/
Dbignum.cc46 bigits_[i] = static_cast<Chunk>(value & kBigitMask); in AssignUInt64()
175 bigits_[bigit_pos] = sum & kBigitMask; in AddBignum()
182 bigits_[bigit_pos] = sum & kBigitMask; in AddBignum()
205 bigits_[i + offset] = difference & kBigitMask; in SubtractBignum()
210 bigits_[i + offset] = difference & kBigitMask; in SubtractBignum()
241 bigits_[i] = static_cast<Chunk>(product & kBigitMask); in MultiplyByUInt32()
246 bigits_[used_digits_] = static_cast<Chunk>(carry & kBigitMask); in MultiplyByUInt32()
266 uint64_t tmp = (carry & kBigitMask) + product_low; in MultiplyByUInt64()
267 bigits_[i] = static_cast<Chunk>(tmp & kBigitMask); in MultiplyByUInt64()
273 bigits_[used_digits_] = static_cast<Chunk>(carry & kBigitMask); in MultiplyByUInt64()
[all …]
Dbignum.h84 static const Chunk kBigitMask = (1 << kBigitSize) - 1; variable