Home
last modified time | relevance | path

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

/bionic/libc/bionic/
Dfpclassify.cpp55 return ((u.bits.dbl_fracl | u.bits.dbl_frach) == 0) ? FP_INFINITE : FP_NAN; in __fpclassifyd()
68 return (u.bits.sng_frac == 0) ? FP_INFINITE : FP_NAN; in __fpclassifyf()
84 return (__fpclassifyd(d) == FP_NAN); in __isnan()
89 return (__fpclassifyf(f) == FP_NAN); in __isnanf()
95 return ((type != FP_NAN) && (type != FP_INFINITE)); in __isfinite()
101 return ((type != FP_NAN) && (type != FP_INFINITE)); in __isfinitef()
133 return zero_frac(u.bits) ? FP_INFINITE : FP_NAN; in __fpclassifyl()
143 return (__fpclassifyl(ld) == FP_NAN); in __isnanl()
148 return ((type != FP_NAN) && (type != FP_INFINITE)); in __isfinitel()
/bionic/libc/upstream-openbsd/lib/libc/gdtoa/
Dldtoa.c97 case FP_NAN: in __ldtoa()
Dhdtoa.c147 case FP_NAN: in __hdtoa()
244 case FP_NAN: in __hldtoa()
/bionic/libm/include/
Dmath.h59 #define FP_NAN 0x02 macro
64 __builtin_fpclassify(FP_NAN, FP_INFINITE, FP_NORMAL, FP_SUBNORMAL, FP_ZERO, x)
/bionic/tests/
Dmath_test.cpp105 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()
178 ASSERT_EQ(FP_NAN, __fpclassifyd(nan(""))); in TEST()
186 ASSERT_EQ(FP_NAN, __fpclassifyf(nanf(""))); in TEST()
194 EXPECT_EQ(FP_NAN, __fpclassifyl(nanl(""))); in TEST()