Lines Matching full:fpclassify
105 TEST(MATH_TEST, fpclassify) {
106 ASSERT_EQ(FP_INFINITE, fpclassify(INFINITY));
107 ASSERT_EQ(FP_INFINITE, fpclassify(HUGE_VALF));
108 ASSERT_EQ(FP_INFINITE, fpclassify(HUGE_VAL));
109 ASSERT_EQ(FP_INFINITE, fpclassify(HUGE_VALL));
111 ASSERT_EQ(FP_NAN, fpclassify(nanf("")));
112 ASSERT_EQ(FP_NAN, fpclassify(nan("")));
113 ASSERT_EQ(FP_NAN, fpclassify(nanl("")));
115 ASSERT_EQ(FP_NORMAL, fpclassify(1.0f));
116 ASSERT_EQ(FP_NORMAL, fpclassify(1.0));
117 ASSERT_EQ(FP_NORMAL, fpclassify(1.0L));
119 ASSERT_EQ(FP_SUBNORMAL, fpclassify(float_subnormal()));
120 ASSERT_EQ(FP_SUBNORMAL, fpclassify(double_subnormal()));
121 ASSERT_EQ(FP_SUBNORMAL, fpclassify(ldouble_subnormal()));
123 ASSERT_EQ(FP_ZERO, fpclassify(0.0f));
124 ASSERT_EQ(FP_ZERO, fpclassify(0.0));
125 ASSERT_EQ(FP_ZERO, fpclassify(0.0L));