Home
last modified time | relevance | path

Searched refs:isfinite (Results 1 – 20 of 20) sorted by relevance

/ndk/sources/cxx-stl/llvm-libc++/test/numerics/complex.number/complex.transcendentals/
Dlog.pass.cpp61 else if (std::isfinite(x[i].real()) && std::isinf(x[i].imag())) in test_edges()
70 else if (std::isfinite(x[i].real()) && std::isnan(x[i].imag())) in test_edges()
75 else if (std::isinf(x[i].real()) && x[i].real() < 0 && std::isfinite(x[i].imag())) in test_edges()
83 else if (std::isinf(x[i].real()) && x[i].real() > 0 && std::isfinite(x[i].imag())) in test_edges()
112 else if (std::isfinite(x[i].real()) && std::isfinite(x[i].imag()) && abs(x[i]) < 1) in test_edges()
117 else if (std::isfinite(x[i].real()) && std::isfinite(x[i].imag()) && abs(x[i]) > 1) in test_edges()
Dtanh.pass.cpp50 else if (std::isfinite(x[i].real()) && std::isinf(x[i].imag())) in test_edges()
55 else if (std::isfinite(x[i].real()) && std::isnan(x[i].imag())) in test_edges()
60 else if (std::isinf(x[i].real()) && std::isfinite(x[i].imag())) in test_edges()
82 else if (std::isnan(x[i].real()) && std::isfinite(x[i].imag())) in test_edges()
Dacosh.pass.cpp58 else if (std::isfinite(x[i].real()) && std::isinf(x[i].imag())) in test_edges()
67 else if (std::isfinite(x[i].real()) && std::isnan(x[i].imag())) in test_edges()
72 else if (std::isinf(x[i].real()) && x[i].real() < 0 && std::isfinite(x[i].imag())) in test_edges()
81 else if (std::isinf(x[i].real()) && x[i].real() > 0 && std::isfinite(x[i].imag())) in test_edges()
112 else if (std::isnan(x[i].real()) && std::isfinite(x[i].imag())) in test_edges()
Dsqrt.pass.cpp55 else if (std::isfinite(x[i].real()) && std::isnan(x[i].imag())) in test_edges()
60 else if (std::isinf(x[i].real()) && x[i].real() < 0 && std::isfinite(x[i].imag())) in test_edges()
67 else if (std::isinf(x[i].real()) && x[i].real() > 0 && std::isfinite(x[i].imag())) in test_edges()
85 else if (std::isnan(x[i].real()) && (std::isfinite(x[i].imag()) || std::isnan(x[i].imag()))) in test_edges()
Dsinh.pass.cpp55 else if (std::isfinite(x[i].real()) && std::isinf(x[i].imag())) in test_edges()
65 else if (std::isfinite(x[i].real()) && std::isnan(x[i].imag())) in test_edges()
77 else if (std::isinf(x[i].real()) && std::isfinite(x[i].imag())) in test_edges()
100 else if (std::isnan(x[i].real()) && std::isfinite(x[i].imag())) in test_edges()
Dcosh.pass.cpp59 else if (std::isfinite(x[i].real()) && std::isinf(x[i].imag())) in test_edges()
64 else if (std::isfinite(x[i].real()) && std::isnan(x[i].imag())) in test_edges()
76 else if (std::isinf(x[i].real()) && std::isfinite(x[i].imag())) in test_edges()
99 else if (std::isnan(x[i].real()) && std::isfinite(x[i].imag())) in test_edges()
Dacos.pass.cpp54 else if (std::isfinite(x[i].real()) && std::isinf(x[i].imag())) in test_edges()
60 else if (std::isfinite(x[i].real()) && x[i].real() != 0 && std::isnan(x[i].imag())) in test_edges()
65 else if (std::isinf(x[i].real()) && x[i].real() < 0 && std::isfinite(x[i].imag())) in test_edges()
71 else if (std::isinf(x[i].real()) && x[i].real() > 0 && std::isfinite(x[i].imag())) in test_edges()
95 else if (std::isnan(x[i].real()) && std::isfinite(x[i].imag())) in test_edges()
Dasin.pass.cpp48 else if (std::isfinite(x[i].real()) && std::isinf(x[i].imag())) in test_edges()
61 else if (std::isfinite(x[i].real()) && std::isnan(x[i].imag())) in test_edges()
66 else if (std::isinf(x[i].real()) && std::isfinite(x[i].imag())) in test_edges()
90 else if (std::isnan(x[i].real()) && std::isfinite(x[i].imag())) in test_edges()
Dasinh.pass.cpp48 else if (std::isfinite(x[i].real()) && std::isinf(x[i].imag())) in test_edges()
57 else if (std::isfinite(x[i].real()) && std::isnan(x[i].imag())) in test_edges()
62 else if (std::isinf(x[i].real()) && std::isfinite(x[i].imag())) in test_edges()
90 else if (std::isnan(x[i].real()) && std::isfinite(x[i].imag())) in test_edges()
Datanh.pass.cpp61 else if (std::isfinite(x[i].real()) && std::isinf(x[i].imag())) in test_edges()
70 else if (std::isfinite(x[i].real()) && std::isnan(x[i].imag())) in test_edges()
75 else if (std::isinf(x[i].real()) && std::isfinite(x[i].imag())) in test_edges()
99 else if (std::isnan(x[i].real()) && std::isfinite(x[i].imag())) in test_edges()
Dexp.pass.cpp47 else if (std::isfinite(x[i].real()) && std::isinf(x[i].imag())) in test_edges()
52 else if (std::isfinite(x[i].real()) && std::isnan(x[i].imag())) in test_edges()
100 else if (std::isfinite(x[i].imag()) && std::abs(x[i].imag()) <= 1) in test_edges()
/ndk/sources/cxx-stl/llvm-libc++/include/support/win32/
Dmath_win32.h23 _LIBCPP_ALWAYS_INLINE bool isfinite( double num ) in isfinite() function
29 return !isfinite(num) && !_isnan(num); in isinf()
/ndk/sources/cxx-stl/llvm-libc++/test/numerics/complex.number/complex.value.ops/
Dabs.pass.cpp42 assert(std::isfinite(r) && r > 0); in test_edges()
Dnorm.pass.cpp42 assert(std::isfinite(r) && r > 0); in test_edges()
/ndk/sources/cxx-stl/stlport/stlport/stl/
D_cmath.h536 template<typename _Tp> inline int __capture_isfinite(_Tp __f) { return isfinite(__f); }
541 #undef isfinite
546 template<typename _Tp> inline int isfinite(_Tp __f) { return __capture_isfinite(__f); } in isfinite() function
577 using __captured::isfinite;
/ndk/sources/cxx-stl/llvm-libc++/include/
Dcomplex674 if (isfinite(__logbw))
690 else if ((isinf(__a) || isinf(__b)) && isfinite(__c) && isfinite(__d))
697 else if (isinf(__logbw) && __logbw > _Tp(0) && isfinite(__a) && isfinite(__b))
1150 if (!isfinite(__i))
1153 else if (__i == 0 || !isfinite(__i))
1313 if (isinf(__x.real()) && !isfinite(__x.imag()))
1315 if (__x.real() == 0 && !isfinite(__x.imag()))
1317 if (__x.imag() == 0 && !isfinite(__x.real()))
1328 if (isinf(__x.real()) && !isfinite(__x.imag()))
1330 if (__x.real() == 0 && !isfinite(__x.imag()))
[all …]
Dcmath144 bool isfinite(arithmetic x);
360 // isfinite
362 #ifdef isfinite
369 return isfinite(__x);
372 #undef isfinite
377 isfinite(_A1 __x) _NOEXCEPT
382 #endif // isfinite
640 using ::isfinite;
/ndk/sources/cxx-stl/stlport/src/
Dnum_put_float.cpp131 # if defined (isfinite) in _Stl_is_nan_or_inf()
132 { return !isfinite(x); } in _Stl_is_nan_or_inf()
173 static bool _Stl_is_nan_or_inf(double x) { return isnan(x) || !isfinite(x); } in _Stl_is_nan_or_inf()
174 static bool _Stl_is_inf(double x) { return !isfinite(x); } in _Stl_is_inf()
175 static bool _Stl_is_neg_inf(double x) { return !isfinite(x) && signbit(x); } in _Stl_is_neg_inf()
/ndk/sources/cxx-stl/llvm-libc++/test/depr/depr.c.headers/
Dmath_h.pass.cpp215 static_assert((std::is_same<decltype(isfinite((float)0)), bool>::value), ""); in test_isfinite()
216 static_assert((std::is_same<decltype(isfinite((double)0)), bool>::value), ""); in test_isfinite()
217 static_assert((std::is_same<decltype(isfinite((long double)0)), bool>::value), ""); in test_isfinite()
218 assert(isfinite(-1.0) == true); in test_isfinite()
/ndk/sources/cxx-stl/llvm-libc++/test/numerics/c.math/
Dcmath.pass.cpp455 #ifdef isfinite in test_isfinite()
456 #error isfinite defined in test_isfinite()
458 static_assert((std::is_same<decltype(std::isfinite((float)0)), bool>::value), ""); in test_isfinite()
459 static_assert((std::is_same<decltype(std::isfinite((double)0)), bool>::value), ""); in test_isfinite()
460 static_assert((std::is_same<decltype(std::isfinite(0)), bool>::value), ""); in test_isfinite()
461 static_assert((std::is_same<decltype(std::isfinite((long double)0)), bool>::value), ""); in test_isfinite()
462 assert(std::isfinite(-1.0) == true); in test_isfinite()