Home
last modified time | relevance | path

Searched refs:isnan (Results 1 – 21 of 21) sorted by relevance

/bionic/tests/
Dcomplex_test.cpp324 ASSERT_TRUE(isnan(creal(z))); in TEST()
329 ASSERT_TRUE(isnan(creal(z))); in TEST()
330 ASSERT_TRUE(isnan(cimag(z))); in TEST()
334 ASSERT_TRUE(isnan(creal(z))); in TEST()
335 ASSERT_TRUE(isnan(cimag(z))); in TEST()
345 ASSERT_TRUE(isnan(crealf(z))); in TEST()
350 ASSERT_TRUE(isnan(crealf(z))); in TEST()
351 ASSERT_TRUE(isnan(cimagf(z))); in TEST()
355 ASSERT_TRUE(isnan(crealf(z))); in TEST()
356 ASSERT_TRUE(isnan(cimagf(z))); in TEST()
[all …]
Dmath_test.cpp44 return isnan(in); in test_capture_isnan()
155 TEST(MATH_TEST, isnan) { in TEST() argument
343 ASSERT_FALSE((isnan)(123.0)); in TEST()
344 ASSERT_TRUE((isnan)(nan(""))); in TEST()
731 ASSERT_TRUE(isnan(pow(nan(""), 3.0))); in TEST()
733 ASSERT_TRUE(isnan(pow(2.0, nan("")))); in TEST()
803 ASSERT_TRUE(isnan(fmod(HUGE_VAL, 10.0f))); in TEST()
804 ASSERT_TRUE(isnan(fmod(-HUGE_VAL, 10.0f))); in TEST()
807 ASSERT_TRUE(isnan(fmod(nan(""), 10.0))); in TEST()
808 ASSERT_TRUE(isnan(fmod(12.0, nan("")))); in TEST()
[all …]
Dstdlib_test.cpp509 EXPECT_TRUE(isnan(fn("+nan", nullptr))); in CheckStrToFloat()
510 EXPECT_TRUE(isnan(fn("nan", nullptr))); in CheckStrToFloat()
511 EXPECT_TRUE(isnan(fn("-nan", nullptr))); in CheckStrToFloat()
513 EXPECT_TRUE(isnan(fn("+nan(0xff)", nullptr))); in CheckStrToFloat()
514 EXPECT_TRUE(isnan(fn("nan(0xff)", nullptr))); in CheckStrToFloat()
515 EXPECT_TRUE(isnan(fn("-nan(0xff)", nullptr))); in CheckStrToFloat()
517 EXPECT_TRUE(isnan(fn("+nanny", &p))); in CheckStrToFloat()
519 EXPECT_TRUE(isnan(fn("nanny", &p))); in CheckStrToFloat()
521 EXPECT_TRUE(isnan(fn("-nanny", &p))); in CheckStrToFloat()
546 EXPECT_TRUE(isnan(fn("NaN", nullptr))); in CheckStrToFloat()
[all …]
Dwchar_test.cpp828 ASSERT_TRUE(isnan(fn(L"+nan", nullptr))); in TestWcsToFloatInfNan()
829 ASSERT_TRUE(isnan(fn(L"nan", nullptr))); in TestWcsToFloatInfNan()
830 ASSERT_TRUE(isnan(fn(L"-nan", nullptr))); in TestWcsToFloatInfNan()
832 ASSERT_TRUE(isnan(fn(L"+nan(0xff)", nullptr))); in TestWcsToFloatInfNan()
833 ASSERT_TRUE(isnan(fn(L"nan(0xff)", nullptr))); in TestWcsToFloatInfNan()
834 ASSERT_TRUE(isnan(fn(L"-nan(0xff)", nullptr))); in TestWcsToFloatInfNan()
837 ASSERT_TRUE(isnan(fn(L"+nanny", &p))); in TestWcsToFloatInfNan()
839 ASSERT_TRUE(isnan(fn(L"nanny", &p))); in TestWcsToFloatInfNan()
841 ASSERT_TRUE(isnan(fn(L"-nanny", &p))); in TestWcsToFloatInfNan()
866 ASSERT_TRUE(isnan(fn(L"NaN", nullptr))); in TestWcsToFloatInfNan()
Dmath_data_test.h155 if (!isnan(expected) && !isnan(actual) && UlpDistance(expected, actual) <= ULP) {
Dstdio_test.cpp485 EXPECT_TRUE(isnan(f)); in CheckInfNan()
490 EXPECT_TRUE(isnan(f)); in CheckInfNan()
495 EXPECT_TRUE(isnan(f)); in CheckInfNan()
500 EXPECT_TRUE(isnan(f)); in CheckInfNan()
530 EXPECT_TRUE(isnan(f)); in CheckInfNan()
/bionic/libm/upstream-freebsd/lib/msun/src/
Dcatrig.c40 #undef isnan
41 #define isnan(x) ((x) != (x)) macro
288 if (isnan(x) || isnan(y)) { in casinh()
372 if (isnan(x) || isnan(y)) { in cacos()
441 if (isnan(rx) && isnan(ry)) in cacosh()
445 if (isnan(rx)) in cacosh()
448 if (isnan(ry)) in cacosh()
591 if (isnan(x) || isnan(y)) { in catanh()
Dcatrigf.c54 #undef isnan
55 #define isnan(x) ((x) != (x)) macro
159 if (isnan(x) || isnan(y)) { in casinhf()
217 if (isnan(x) || isnan(y)) { in cacosf()
270 if (isnan(rx) && isnan(ry)) in cacoshf()
272 if (isnan(rx)) in cacoshf()
274 if (isnan(ry)) in cacoshf()
356 if (isnan(x) || isnan(y)) { in catanhf()
Dcatrigl.c54 #undef isnan
55 #define isnan(x) ((x) != (x)) macro
178 if (isnan(x) || isnan(y)) { in casinhl()
237 if (isnan(x) || isnan(y)) { in cacosl()
290 if (isnan(rx) && isnan(ry)) in cacoshl()
292 if (isnan(rx)) in cacoshl()
294 if (isnan(ry)) in cacoshl()
377 if (isnan(x) || isnan(y)) { in catanhl()
Ds_fdim.c39 if (isnan(x)) \
41 if (isnan(y)) \
De_scalb.c37 if (isnan(x)||isnan(fn)) return x*fn; in __ieee754_scalb()
Ds_csqrtf.c51 if (isnan(a)) { in csqrtf()
67 if (isnan(b)) { in csqrtf()
Ds_csqrt.c55 if (isnan(a)) { in csqrt()
71 if (isnan(b)) { in csqrt()
Ds_csqrtl.c70 if (isnan(a)) { in csqrtl()
86 if (isnan(b)) { in csqrtl()
/bionic/libc/bionic/
Dfpclassify.cpp54 return isnan(d); in __isnan()
56 __strong_alias(isnan, __isnan);
59 return isnan(f); in __isnanf()
92 return isnan(ld); in __isnanl()
/bionic/tests/headers/posix/
Dmath_h.c61 #if !defined(isnan) in math_h()
62 #error isnan in math_h()
/bionic/libc/include/
Dmath.h69 #define isnan(x) __builtin_isnan(x) macro
326 int (isnan)(double __x) __attribute_const__; variable
/bionic/benchmarks/
Dmath_benchmark.cpp109 d += isnan(v); in BM_math_isnan_macro()
119 d += (isnan)(v); in BM_math_isnan()
/bionic/libc/tools/
Dposix-2013.txt441 isnan
/bionic/tools/versioner/platforms/
Dlibc.map.txt547 isnan;
/bionic/libc/
Dlibc.map.txt547 isnan;