Lines Matching refs:ilogb
2823 TEST(APFloatTest, ilogb) { in TEST() argument
2824 EXPECT_EQ(0, ilogb(APFloat(APFloat::IEEEsingle, "0x1p+0"))); in TEST()
2825 EXPECT_EQ(0, ilogb(APFloat(APFloat::IEEEsingle, "-0x1p+0"))); in TEST()
2826 EXPECT_EQ(42, ilogb(APFloat(APFloat::IEEEsingle, "0x1p+42"))); in TEST()
2827 EXPECT_EQ(-42, ilogb(APFloat(APFloat::IEEEsingle, "0x1p-42"))); in TEST()
2830 ilogb(APFloat::getInf(APFloat::IEEEsingle, false))); in TEST()
2832 ilogb(APFloat::getInf(APFloat::IEEEsingle, true))); in TEST()
2834 ilogb(APFloat::getZero(APFloat::IEEEsingle, false))); in TEST()
2836 ilogb(APFloat::getZero(APFloat::IEEEsingle, true))); in TEST()
2838 ilogb(APFloat::getNaN(APFloat::IEEEsingle, false))); in TEST()
2840 ilogb(APFloat::getSNaN(APFloat::IEEEsingle, false))); in TEST()
2842 EXPECT_EQ(127, ilogb(APFloat::getLargest(APFloat::IEEEsingle, false))); in TEST()
2843 EXPECT_EQ(127, ilogb(APFloat::getLargest(APFloat::IEEEsingle, true))); in TEST()
2844 EXPECT_EQ(-126, ilogb(APFloat::getSmallest(APFloat::IEEEsingle, false))); in TEST()
2845 EXPECT_EQ(-126, ilogb(APFloat::getSmallest(APFloat::IEEEsingle, true))); in TEST()
2847 ilogb(APFloat::getSmallestNormalized(APFloat::IEEEsingle, false))); in TEST()
2849 ilogb(APFloat::getSmallestNormalized(APFloat::IEEEsingle, true))); in TEST()