Searched refs:Bignum (Results 1 – 6 of 6) sorted by relevance
/external/v8/src/ |
D | bignum.h | 34 class Bignum { 41 Bignum(); 44 void AssignBignum(const Bignum& other); 53 void AddBignum(const Bignum& other); 55 void SubtractBignum(const Bignum& other); 67 uint16_t DivideModuloIntBignum(const Bignum& other); 71 static int Compare(const Bignum& a, const Bignum& b); 72 static bool Equal(const Bignum& a, const Bignum& b) { in Equal() 75 static bool LessEqual(const Bignum& a, const Bignum& b) { in LessEqual() 78 static bool Less(const Bignum& a, const Bignum& b) { in Less() [all …]
|
D | bignum-dtoa.cc | 60 Bignum* numerator, 61 Bignum* denominator, 62 Bignum* delta_minus, 63 Bignum* delta_plus); 71 Bignum* numerator, Bignum* denominator, 72 Bignum* delta_minus, Bignum* delta_plus); 75 static void GenerateShortestDigits(Bignum* numerator, Bignum* denominator, 76 Bignum* delta_minus, Bignum* delta_plus, 81 Bignum* numerator, Bignum* denominator, 88 Bignum* numerator, Bignum* denominator, [all …]
|
D | bignum.cc | 35 Bignum::Bignum() in Bignum() function in v8::internal::Bignum 49 void Bignum::AssignUInt16(uint16_t value) { in AssignUInt16() 60 void Bignum::AssignUInt64(uint64_t value) { in AssignUInt64() 77 void Bignum::AssignBignum(const Bignum& other) { in AssignBignum() 103 void Bignum::AssignDecimalString(Vector<const char> value) { in AssignDecimalString() 133 void Bignum::AssignHexString(Vector<const char> value) { in AssignHexString() 163 void Bignum::AddUInt64(uint64_t operand) { in AddUInt64() 165 Bignum other; in AddUInt64() 171 void Bignum::AddBignum(const Bignum& other) { in AddBignum() 213 void Bignum::SubtractBignum(const Bignum& other) { in SubtractBignum() [all …]
|
D | strtod.cc | 388 ASSERT(((kMaxDecimalPower + 1) * 333 / 100) < Bignum::kMaxSignificantBits); in BignumStrtod() 389 Bignum input; in BignumStrtod() 390 Bignum boundary; in BignumStrtod() 403 int comparison = Bignum::Compare(input, boundary); in BignumStrtod()
|
/external/v8/test/cctest/ |
D | test-bignum.cc | 41 static void AssignHexString(Bignum* bignum, const char* str) { in AssignHexString() 46 static void AssignDecimalString(Bignum* bignum, const char* str) { in AssignDecimalString() 53 Bignum bignum; in TEST() 54 Bignum bignum2; in TEST() 122 Bignum bignum; in TEST() 160 Bignum bignum; in TEST() 259 Bignum bignum; in TEST() 260 Bignum other; in TEST() 349 Bignum bignum; in TEST() 350 Bignum other; in TEST() [all …]
|
D | test-strtod.cc | 349 static int CompareBignumToDiyFp(const Bignum& bignum_digits, in CompareBignumToDiyFp() 352 Bignum bignum; in CompareBignumToDiyFp() 354 Bignum other; in CompareBignumToDiyFp() 366 return Bignum::Compare(bignum, other); in CompareBignumToDiyFp() 375 Bignum input_digits; in CheckDouble()
|