Searched refs:FP_INFINITE (Results 1 – 5 of 5) sorted by relevance
/bionic/libc/bionic/ |
D | fpclassify.cpp | 55 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() 74 return (__fpclassifyd(d) == FP_INFINITE); in __isinf() 79 return (__fpclassifyf(f) == FP_INFINITE); in __isinff() 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() 139 return (__fpclassifyl(ld) == FP_INFINITE); in __isinfl() 148 return ((type != FP_NAN) && (type != FP_INFINITE)); in __isfinitel()
|
/bionic/libc/upstream-openbsd/lib/libc/gdtoa/ |
D | ldtoa.c | 94 case FP_INFINITE: in __ldtoa()
|
D | hdtoa.c | 144 case FP_INFINITE: in __hdtoa() 241 case FP_INFINITE: in __hldtoa()
|
/bionic/libm/include/ |
D | math.h | 58 #define FP_INFINITE 0x01 macro 64 __builtin_fpclassify(FP_NAN, FP_INFINITE, FP_NORMAL, FP_SUBNORMAL, FP_ZERO, x)
|
/bionic/tests/ |
D | math_test.cpp | 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() 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()
|