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

References

unittests/Support/ScaledNumberTest.cpp
   82   EXPECT_EQ(SP32(0, 0), getProduct32(0, 0));
   83   EXPECT_EQ(SP32(0, 0), getProduct32(0, 1));
   84   EXPECT_EQ(SP32(0, 0), getProduct32(0, 33));
   87   EXPECT_EQ(SP32(6, 0), getProduct32(2, 3));
   89             getProduct32(UINT16_MAX / 3, UINT16_MAX / 5 * 2));
   96   EXPECT_EQ(SP32(0xf00f1001, 4), getProduct32(0xf00010, 0x1001));
  103   EXPECT_EQ(SP32(0xf00f0700, 8), getProduct32(0xf000070, 0x1001));
  110   EXPECT_EQ(SP32(0xf00f0801, 8), getProduct32(0xf000080, 0x1001));
  113   EXPECT_EQ(SP32(0, 0), getProduct32(1, 0));
  114   EXPECT_EQ(SP32(0, 0), getProduct32(33, 0));
  115   EXPECT_EQ(SP32(6, 0), getProduct32(3, 2));
  117             getProduct32(UINT16_MAX / 5 * 2, UINT16_MAX / 3));
  118   EXPECT_EQ(SP32(0xf00f1001, 4), getProduct32(0x1001, 0xf00010));
  119   EXPECT_EQ(SP32(0xf00f0700, 8), getProduct32(0x1001, 0xf000070));
  120   EXPECT_EQ(SP32(0xf00f0801, 8), getProduct32(0x1001, 0xf000080));