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

References

unittests/ADT/APFloatTest.cpp
 1057             .convertToInteger(result, APFloat::rmTowardZero, &isExact));
 1059   EXPECT_EQ(APSInt(APInt(5, 10), true), result);
 1063             .convertToInteger(result, APFloat::rmTowardZero, &isExact));
 1065   EXPECT_EQ(APSInt::getMinValue(5, true), result);
 1069             .convertToInteger(result, APFloat::rmTowardZero, &isExact));
 1071   EXPECT_EQ(APSInt::getMaxValue(5, true), result);
 1075             .convertToInteger(result, APFloat::rmTowardZero, &isExact));
 1077   EXPECT_EQ(APSInt(APInt(5, 7), true), result);
 1079   result.setIsUnsigned(false);
 1082             .convertToInteger(result, APFloat::rmTowardZero, &isExact));
 1084   EXPECT_EQ(APSInt(APInt(5, -10, true), false), result);
 1088             .convertToInteger(result, APFloat::rmTowardZero, &isExact));
 1090   EXPECT_EQ(APSInt::getMinValue(5, false), result);
 1094             .convertToInteger(result, APFloat::rmTowardZero, &isExact));
 1096   EXPECT_EQ(APSInt::getMaxValue(5, false), result);