Home
last modified time | relevance | path

Searched refs:Bignum (Results 1 – 6 of 6) sorted by relevance

/external/v8/src/
Dbignum.h34 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 …]
Dbignum-dtoa.cc60 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 …]
Dbignum.cc35 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 …]
Dstrtod.cc388 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/
Dtest-bignum.cc41 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 …]
Dtest-strtod.cc349 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()