Home
last modified time | relevance | path

Searched refs:FP_ZERO (Results 1 – 5 of 5) sorted by relevance

/bionic/libc/bionic/
Dfpclassify.cpp53 return ((u.bits.dbl_fracl | u.bits.dbl_frach) == 0) ? FP_ZERO : FP_SUBNORMAL; in __fpclassifyd()
66 return (u.bits.sng_frac == 0) ? FP_ZERO : FP_SUBNORMAL; in __fpclassifyf()
131 return zero_frac(u.bits) ? FP_ZERO : FP_SUBNORMAL; in __fpclassifyl()
/bionic/libc/upstream-openbsd/lib/libc/gdtoa/
Dldtoa.c85 case FP_ZERO: in __ldtoa()
Dhdtoa.c137 case FP_ZERO: in __hdtoa()
235 case FP_ZERO: in __hldtoa()
/bionic/libc/include/
Dmath.h54 #define FP_ZERO 0x10 macro
56 __builtin_fpclassify(FP_NAN, FP_INFINITE, FP_NORMAL, FP_SUBNORMAL, FP_ZERO, x)
/bionic/tests/
Dmath_test.cpp117 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()
181 ASSERT_EQ(FP_ZERO, __fpclassifyd(0.0)); in TEST()
189 ASSERT_EQ(FP_ZERO, __fpclassifyf(0.0f)); in TEST()
197 EXPECT_EQ(FP_ZERO, __fpclassifyl(0.0L)); in TEST()