Home
last modified time | relevance | path

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

/external/v8/src/
Dbignum.h61 static int PlusCompare(const Bignum& a, const Bignum& b, const Bignum& c);
64 return PlusCompare(a, b, c) == 0; in PlusEqual()
68 return PlusCompare(a, b, c) <= 0; in PlusLessEqual()
72 return PlusCompare(a, b, c) < 0; in PlusLess()
Dbignum-dtoa.cc179 Bignum::PlusCompare(*numerator, *delta_plus, *denominator) >= 0; in GenerateShortestDigits()
182 Bignum::PlusCompare(*numerator, *delta_plus, *denominator) > 0; in GenerateShortestDigits()
197 int compare = Bignum::PlusCompare(*numerator, *numerator, *denominator); in GenerateShortestDigits()
262 if (Bignum::PlusCompare(*numerator, *numerator, *denominator) >= 0) { in GenerateCountedDigits()
309 if (Bignum::PlusCompare(*numerator, *numerator, *denominator) >= 0) { in BignumToFixed()
613 in_range = Bignum::PlusCompare(*numerator, *delta_plus, *denominator) >= 0; in FixupMultiply10()
615 in_range = Bignum::PlusCompare(*numerator, *delta_plus, *denominator) > 0; in FixupMultiply10()
Dbignum.cc614 int Bignum::PlusCompare(const Bignum& a, const Bignum& b, const Bignum& c) { in PlusCompare() function in v8::internal::Bignum
619 return PlusCompare(b, a, c); in PlusCompare()
/external/v8/test/cctest/
Dtest-bignum.cc1210 TEST(PlusCompare) { in TEST() argument
1217 CHECK_EQ(0, Bignum::PlusCompare(a, b, c)); in TEST()
1225 CHECK_EQ(-1, Bignum::PlusCompare(a, b, c)); in TEST()
1226 CHECK_EQ(+1, Bignum::PlusCompare(c, b, a)); in TEST()
1237 CHECK_EQ(+1, Bignum::PlusCompare(a, b, c)); in TEST()
1242 CHECK_EQ(0, Bignum::PlusCompare(a, b, c)); in TEST()
1248 CHECK_EQ(0, Bignum::PlusCompare(a, b, c)); in TEST()
1254 CHECK_EQ(-1, Bignum::PlusCompare(a, b, c)); in TEST()
1260 CHECK_EQ(1, Bignum::PlusCompare(a, b, c)); in TEST()
1266 CHECK_EQ(1, Bignum::PlusCompare(a, b, c)); in TEST()
[all …]