Home
last modified time | relevance | path

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

/external/v8/src/
Dbignum.h59 static int PlusCompare(const Bignum& a, const Bignum& b, const Bignum& c);
62 return PlusCompare(a, b, c) == 0; in PlusEqual()
66 return PlusCompare(a, b, c) <= 0; in PlusLessEqual()
70 return PlusCompare(a, b, c) < 0; in PlusLess()
Dbignum-dtoa.cc181 Bignum::PlusCompare(*numerator, *delta_plus, *denominator) >= 0; in GenerateShortestDigits()
184 Bignum::PlusCompare(*numerator, *delta_plus, *denominator) > 0; in GenerateShortestDigits()
199 int compare = Bignum::PlusCompare(*numerator, *numerator, *denominator); in GenerateShortestDigits()
264 if (Bignum::PlusCompare(*numerator, *numerator, *denominator) >= 0) { in GenerateCountedDigits()
311 if (Bignum::PlusCompare(*numerator, *numerator, *denominator) >= 0) { in BignumToFixed()
615 in_range = Bignum::PlusCompare(*numerator, *delta_plus, *denominator) >= 0; in FixupMultiply10()
617 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.cc1172 TEST(PlusCompare) { in TEST() argument
1179 CHECK_EQ(0, Bignum::PlusCompare(a, b, c)); in TEST()
1187 CHECK_EQ(-1, Bignum::PlusCompare(a, b, c)); in TEST()
1188 CHECK_EQ(+1, Bignum::PlusCompare(c, b, a)); in TEST()
1199 CHECK_EQ(+1, Bignum::PlusCompare(a, b, c)); in TEST()
1204 CHECK_EQ(0, Bignum::PlusCompare(a, b, c)); in TEST()
1210 CHECK_EQ(0, Bignum::PlusCompare(a, b, c)); in TEST()
1216 CHECK_EQ(-1, Bignum::PlusCompare(a, b, c)); in TEST()
1222 CHECK_EQ(1, Bignum::PlusCompare(a, b, c)); in TEST()
1228 CHECK_EQ(1, Bignum::PlusCompare(a, b, c)); in TEST()
[all …]