reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

unittests/Support/ScaledNumberTest.cpp
  169   EXPECT_EQ(SP64(0, 0), getQuotient64(0, 0));
  170   EXPECT_EQ(SP64(0, 0), getQuotient64(0, 1));
  171   EXPECT_EQ(SP64(0, 0), getQuotient64(0, 73));
  172   EXPECT_EQ(SP64(UINT64_MAX, MaxScale), getQuotient64(1, 0));
  173   EXPECT_EQ(SP64(UINT64_MAX, MaxScale), getQuotient64(6, 0));
  176   EXPECT_EQ(SP64(1, 0), getQuotient64(1, 1));
  177   EXPECT_EQ(SP64(2, 0), getQuotient64(2, 1));
  178   EXPECT_EQ(SP64(4, -4), getQuotient64(4, 16));
  179   EXPECT_EQ(SP64(7, 0), getQuotient64(7, 1));
  180   EXPECT_EQ(SP64(7, -1), getQuotient64(7, 2));
  181   EXPECT_EQ(SP64(7, -4), getQuotient64(7, 16));
  184   EXPECT_EQ(SP64(UINT64_C(3) << 60, -60), getQuotient64(9, 3));
  185   EXPECT_EQ(SP64(UINT64_C(9) << 58, -58), getQuotient64(63, 7));
  188   EXPECT_EQ(SP64(0xaaaaaaaaaaaaaaab, -65), getQuotient64(1, 3));
  189   EXPECT_EQ(SP64(0xd555555555555555, -63), getQuotient64(5, 3));