Home
last modified time | relevance | path

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

/bionic/libm/upstream-freebsd/lib/msun/src/
Ds_fdim.c37 if (isnan(x)) \
39 if (isnan(y)) \
De_scalb.c37 if (isnan(x)||isnan(fn)) return x*fn; in __ieee754_scalb()
Dcatrigf.c52 #undef isnan
53 #define isnan(x) ((x) != (x)) macro
157 if (isnan(x) || isnan(y)) { in casinhf()
215 if (isnan(x) || isnan(y)) { in cacosf()
268 if (isnan(rx) && isnan(ry)) in cacoshf()
270 if (isnan(rx)) in cacoshf()
272 if (isnan(ry)) in cacoshf()
354 if (isnan(x) || isnan(y)) { in catanhf()
Dcatrig.c38 #undef isnan
39 #define isnan(x) ((x) != (x)) macro
286 if (isnan(x) || isnan(y)) { in casinh()
370 if (isnan(x) || isnan(y)) { in cacos()
439 if (isnan(rx) && isnan(ry)) in cacosh()
443 if (isnan(rx)) in cacosh()
446 if (isnan(ry)) in cacosh()
584 if (isnan(x) || isnan(y)) { in catanh()
Ds_csqrtf.c55 if (isnan(a)) { in csqrtf()
Ds_csqrtl.c64 if (isnan(a)) { in csqrtl()
Ds_csqrt.c64 if (isnan(a)) { in csqrt()
/bionic/tests/
Dstdlib_test.cpp339 EXPECT_TRUE(isnan(fn("+nan", nullptr))); in CheckStrToFloat()
340 EXPECT_TRUE(isnan(fn("nan", nullptr))); in CheckStrToFloat()
341 EXPECT_TRUE(isnan(fn("-nan", nullptr))); in CheckStrToFloat()
343 EXPECT_TRUE(isnan(fn("+nan(0xff)", nullptr))); in CheckStrToFloat()
344 EXPECT_TRUE(isnan(fn("nan(0xff)", nullptr))); in CheckStrToFloat()
345 EXPECT_TRUE(isnan(fn("-nan(0xff)", nullptr))); in CheckStrToFloat()
347 EXPECT_TRUE(isnan(fn("+nanny", &p))); in CheckStrToFloat()
349 EXPECT_TRUE(isnan(fn("nanny", &p))); in CheckStrToFloat()
351 EXPECT_TRUE(isnan(fn("-nanny", &p))); in CheckStrToFloat()
376 EXPECT_TRUE(isnan(fn("NaN", nullptr))); in CheckStrToFloat()
Dwchar_test.cpp706 EXPECT_TRUE(isnan(fn(L"+nan", nullptr))); in CheckWcsToFloat()
707 EXPECT_TRUE(isnan(fn(L"nan", nullptr))); in CheckWcsToFloat()
708 EXPECT_TRUE(isnan(fn(L"-nan", nullptr))); in CheckWcsToFloat()
710 EXPECT_TRUE(isnan(fn(L"+nan(0xff)", nullptr))); in CheckWcsToFloat()
711 EXPECT_TRUE(isnan(fn(L"nan(0xff)", nullptr))); in CheckWcsToFloat()
712 EXPECT_TRUE(isnan(fn(L"-nan(0xff)", nullptr))); in CheckWcsToFloat()
714 EXPECT_TRUE(isnan(fn(L"+nanny", &p))); in CheckWcsToFloat()
716 EXPECT_TRUE(isnan(fn(L"nanny", &p))); in CheckWcsToFloat()
718 EXPECT_TRUE(isnan(fn(L"-nanny", &p))); in CheckWcsToFloat()
743 EXPECT_TRUE(isnan(fn(L"NaN", nullptr))); in CheckWcsToFloat()
Dmath_test.cpp44 return isnan(in); in test_capture_isnan()
140 TEST(math, isnan) { in TEST() argument
252 ASSERT_FALSE((isnan)(123.0)); in TEST()
253 ASSERT_TRUE((isnan)(nan(""))); in TEST()
593 ASSERT_TRUE(isnan(pow(nan(""), 3.0))); in TEST()
595 ASSERT_TRUE(isnan(pow(2.0, nan("")))); in TEST()
896 ASSERT_TRUE(isnan(logb(nan("")))); in TEST()
912 ASSERT_TRUE(isnan(logbl(nanl("")))); in TEST()
920 ASSERT_TRUE(isnan(log1p(nan("")))); in TEST()
934 ASSERT_TRUE(isnan(log1pl(nanl("")))); in TEST()
[all …]
Dmath_data_test.h155 if (!isnan(expected) && !isnan(actual) && UlpDistance(expected, actual) <= ULP) {
Dstdio_test.cpp420 EXPECT_TRUE(isnan(f)); in CheckInfNan()
425 EXPECT_TRUE(isnan(f)); in CheckInfNan()
430 EXPECT_TRUE(isnan(f)); in CheckInfNan()
435 EXPECT_TRUE(isnan(f)); in CheckInfNan()
465 EXPECT_TRUE(isnan(f)); in CheckInfNan()
/bionic/benchmarks/
Dmath_benchmark.cpp111 d += isnan(v); in BM_math_isnan_macro()
121 d += (isnan)(v); in BM_math_isnan()
/bionic/libc/include/
Dmath.h60 #define isnan(x) __builtin_isnan(x) macro
168 int (isnan)(double) __attribute_const__; variable
/bionic/libc/bionic/
Dfpclassify.cpp87 __strong_alias(isnan, __isnan);
/bionic/libc/tools/
Dposix-2013.txt441 isnan
/bionic/libc/
Dlibc.mips64.map472 isnan;
Dlibc.x86_64.map472 isnan;
Dlibc.arm64.map472 isnan;
Dlibc.mips.map542 isnan;
Dlibc.x86.map540 isnan;
Dlibc.arm.map544 isnan;
Dlibc.map.txt546 isnan;