Lines Matching refs:fpclassify
105 TEST(MATH_TEST, fpclassify) { in TEST() argument
106 ASSERT_EQ(FP_INFINITE, fpclassify(INFINITY)); in TEST()
107 ASSERT_EQ(FP_INFINITE, fpclassify(HUGE_VALF)); in TEST()
108 ASSERT_EQ(FP_INFINITE, fpclassify(-HUGE_VALF)); in TEST()
109 ASSERT_EQ(FP_INFINITE, fpclassify(HUGE_VAL)); in TEST()
110 ASSERT_EQ(FP_INFINITE, fpclassify(-HUGE_VAL)); in TEST()
111 ASSERT_EQ(FP_INFINITE, fpclassify(HUGE_VALL)); in TEST()
112 ASSERT_EQ(FP_INFINITE, fpclassify(-HUGE_VALL)); in TEST()
114 ASSERT_EQ(FP_NAN, fpclassify(nanf(""))); in TEST()
115 ASSERT_EQ(FP_NAN, fpclassify(nan(""))); in TEST()
116 ASSERT_EQ(FP_NAN, fpclassify(nanl(""))); in TEST()
118 ASSERT_EQ(FP_NORMAL, fpclassify(1.0f)); in TEST()
119 ASSERT_EQ(FP_NORMAL, fpclassify(1.0)); in TEST()
120 ASSERT_EQ(FP_NORMAL, fpclassify(1.0L)); in TEST()
122 ASSERT_EQ(FP_SUBNORMAL, fpclassify(float_subnormal())); in TEST()
123 ASSERT_EQ(FP_SUBNORMAL, fpclassify(double_subnormal())); in TEST()
124 ASSERT_EQ(FP_SUBNORMAL, fpclassify(ldouble_subnormal())); in TEST()
126 ASSERT_EQ(FP_ZERO, fpclassify(0.0f)); in TEST()
127 ASSERT_EQ(FP_ZERO, fpclassify(0.0)); in TEST()
128 ASSERT_EQ(FP_ZERO, fpclassify(0.0L)); in TEST()