Lines Matching refs:fpclassify
99 TEST(math, fpclassify) { in TEST() argument
100 ASSERT_EQ(FP_INFINITE, fpclassify(INFINITY)); in TEST()
101 ASSERT_EQ(FP_INFINITE, fpclassify(HUGE_VALF)); in TEST()
102 ASSERT_EQ(FP_INFINITE, fpclassify(HUGE_VAL)); in TEST()
103 ASSERT_EQ(FP_INFINITE, fpclassify(HUGE_VALL)); in TEST()
105 ASSERT_EQ(FP_NAN, fpclassify(nanf(""))); in TEST()
106 ASSERT_EQ(FP_NAN, fpclassify(nan(""))); in TEST()
107 ASSERT_EQ(FP_NAN, fpclassify(nanl(""))); in TEST()
109 ASSERT_EQ(FP_NORMAL, fpclassify(1.0f)); in TEST()
110 ASSERT_EQ(FP_NORMAL, fpclassify(1.0)); in TEST()
111 ASSERT_EQ(FP_NORMAL, fpclassify(1.0L)); in TEST()
113 ASSERT_EQ(FP_SUBNORMAL, fpclassify(float_subnormal())); in TEST()
114 ASSERT_EQ(FP_SUBNORMAL, fpclassify(double_subnormal())); in TEST()
115 ASSERT_EQ(FP_SUBNORMAL, fpclassify(ldouble_subnormal())); in TEST()
117 ASSERT_EQ(FP_ZERO, fpclassify(0.0f)); in TEST()
118 ASSERT_EQ(FP_ZERO, fpclassify(0.0)); in TEST()
119 ASSERT_EQ(FP_ZERO, fpclassify(0.0L)); in TEST()