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

References

unittests/Support/ScaledNumberTest.cpp
   59   EXPECT_EQ(getAdjusted32(0), SP32(0, 0));
   60   EXPECT_EQ(getAdjusted32(0, 5), SP32(0, 5));
   61   EXPECT_EQ(getAdjusted32(UINT32_MAX), SP32(UINT32_MAX, 0));
   62   EXPECT_EQ(getAdjusted32(Max32In64 << 1), SP32(UINT32_MAX, 1));
   63   EXPECT_EQ(getAdjusted32(Max32In64 << 1, 1), SP32(UINT32_MAX, 2));
   64   EXPECT_EQ(getAdjusted32(Max32In64 << 31), SP32(UINT32_MAX, 31));
   65   EXPECT_EQ(getAdjusted32(Max32In64 << 32), SP32(UINT32_MAX, 32));
   66   EXPECT_EQ(getAdjusted32(Max32In64 + 1), SP32(1u << 31, 1));
   67   EXPECT_EQ(getAdjusted32(UINT64_MAX), SP32(1u << 31, 33));