Home
last modified time | relevance | path

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

/bionic/libc/bionic/
Dfpclassify.cpp56 return ((u.bits.dbl_fracl | u.bits.dbl_frach) == 0) ? FP_INFINITE : FP_NAN; in __fpclassifyd()
69 return (u.bits.sng_frac == 0) ? FP_INFINITE : FP_NAN; in __fpclassifyf()
75 return (__fpclassifyd(d) == FP_INFINITE); in __isinf()
80 return (__fpclassifyf(f) == FP_INFINITE); in __isinff()
96 return ((type != FP_NAN) && (type != FP_INFINITE)); in __isfinite()
102 return ((type != FP_NAN) && (type != FP_INFINITE)); in __isfinitef()
134 return zero_frac(u.bits) ? FP_INFINITE : FP_NAN; in __fpclassifyl()
140 return (__fpclassifyl(ld) == FP_INFINITE); in __isinfl()
149 return ((type != FP_NAN) && (type != FP_INFINITE)); in __isfinitel()
/bionic/libc/upstream-openbsd/lib/libc/gdtoa/
Dldtoa.c92 case FP_INFINITE: in __ldtoa()
Dhdtoa.c144 case FP_INFINITE: in __hdtoa()
242 case FP_INFINITE: in __hldtoa()
/bionic/libc/include/
Dmath.h50 #define FP_INFINITE 0x01 macro
56 __builtin_fpclassify(FP_NAN, FP_INFINITE, FP_NORMAL, FP_SUBNORMAL, FP_ZERO, x)
/bionic/tests/
Dmath_test.cpp100 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()
177 ASSERT_EQ(FP_INFINITE, __fpclassifyd(HUGE_VAL)); in TEST()
185 ASSERT_EQ(FP_INFINITE, __fpclassifyf(HUGE_VALF)); in TEST()
193 EXPECT_EQ(FP_INFINITE, __fpclassifyl(HUGE_VALL)); in TEST()