/art/test/575-checker-isnan/ |
info.txt | 1 Unit test for float/double isNaN() operation.
|
/external/tensorflow/tensorflow/core/api_def/base_api/ |
api_def_IsNan.pbtxt | 2 graph_op_name: "IsNan" 6 Equivalent to np.isnan
|
/external/swiftshader/third_party/LLVM/autoconf/m4/ |
func_isnan.m4 | 2 # This function determines if the isnan function is available on this
7 [isnan], [<math.h>],
8 [float f; isnan(f);])
11 AC_DEFINE([HAVE_ISNAN_IN_MATH_H],1,[Set to 1 if the isnan function is found in <math.h>])
15 [isnan], [<cmath>],
16 [float f; isnan(f);])
18 AC_DEFINE([HAVE_ISNAN_IN_CMATH],1,[Set to 1 if the isnan function is found in <cmath>])
22 [std::isnan], [<cmath>],
23 [float f; std::isnan(f);])
25 AC_DEFINE([HAVE_STD_ISNAN_IN_CMATH],1,[Set to 1 if the std::isnan function is found in <cmath>]) [all...] |
/external/eigen/doc/snippets/ |
Cwise_isNaN.cpp | 5 cout << isnan(v) << endl;
|
/hardware/qcom/msm8998/json-c/ |
math_compat.h | 4 /* Define isnan and isinf on Windows/MSVC */ 9 #define isnan(x) _isnan(x) macro
|
/external/swiftshader/third_party/LLVM/lib/Support/ |
IsNAN.cpp | 1 //===-- IsNAN.cpp ---------------------------------------------------------===// 10 // Platform-independent wrapper around C99 isnan(). 22 using std::isnan; 25 #define isnan _isnan 27 # error "Don't know how to get isnan()" 31 int IsNAN(float f) { return isnan(f); } 32 int IsNAN(double d) { return isnan(d); }
|
/external/hamcrest/hamcrest-library/src/main/java/org/hamcrest/number/ |
IsNaN.java | 11 public final class IsNaN extends TypeSafeMatcher<Double> { 13 private IsNaN() { } 17 return Double.isNaN(item); 36 return new IsNaN();
|
/prebuilts/go/darwin-x86/src/math/cmplx/ |
isnan.go | 9 // IsNaN returns true if either real(x) or imag(x) is NaN 11 func IsNaN(x complex128) bool { 15 case math.IsNaN(real(x)) || math.IsNaN(imag(x)):
|
/prebuilts/go/linux-x86/src/math/cmplx/ |
isnan.go | 9 // IsNaN returns true if either real(x) or imag(x) is NaN 11 func IsNaN(x complex128) bool { 15 case math.IsNaN(real(x)) || math.IsNaN(imag(x)):
|
/external/tensorflow/tensorflow/core/kernels/ |
cwise_op_isnan.cc | 19 REGISTER3(UnaryOp, CPU, "IsNan", functor::isnan, float, Eigen::half, double); 22 REGISTER3(UnaryOp, GPU, "IsNan", functor::isnan, float, Eigen::half, double); 26 REGISTER2(UnaryOp, SYCL, "IsNan", functor::isnan, float, double);
|
/external/libcxx/test/std/numerics/complex.number/complex.transcendentals/ |
cosh.pass.cpp | 49 assert(std::isnan(r.real())); 52 else if (testcases[i].real() == 0 && std::isnan(testcases[i].imag())) 54 assert(std::isnan(r.real())); 59 assert(std::isnan(r.real())); 60 assert(std::isnan(r.imag())); 62 else if (std::isfinite(testcases[i].real()) && std::isnan(testcases[i].imag())) 64 assert(std::isnan(r.real())); 65 assert(std::isnan(r.imag())); 84 assert(std::isnan(r.imag())); 86 else if (std::isinf(testcases[i].real()) && std::isnan(testcases[i].imag()) [all...] |
sinh.pass.cpp | 51 assert(std::isnan(r.imag())); 55 assert(std::isnan(r.real())); 56 assert(std::isnan(r.imag())); 58 else if (testcases[i].real() == 0 && std::isnan(testcases[i].imag())) 61 assert(std::isnan(r.imag())); 63 else if (std::isfinite(testcases[i].real()) && std::isnan(testcases[i].imag())) 65 assert(std::isnan(r.real())); 66 assert(std::isnan(r.imag())); 85 assert(std::isnan(r.imag())); 87 else if (std::isinf(testcases[i].real()) && std::isnan(testcases[i].imag()) [all...] |
exp.pass.cpp | 49 assert(std::isnan(r.real())); 50 assert(std::isnan(r.imag())); 52 else if (std::isfinite(testcases[i].real()) && std::isnan(testcases[i].imag())) 54 assert(std::isnan(r.real())); 55 assert(std::isnan(r.imag())); 72 assert(std::isnan(r.imag())); 74 else if (std::isinf(testcases[i].real()) && testcases[i].real() < 0 && std::isnan(testcases[i].imag())) 79 else if (std::isinf(testcases[i].real()) && testcases[i].real() > 0 && std::isnan(testcases[i].imag())) 82 assert(std::isnan(r.imag())); 84 else if (std::isnan(testcases[i].real()) && testcases[i].imag() == 0 [all...] |
acos.pass.cpp | 48 else if (testcases[i].real() == 0 && std::isnan(testcases[i].imag())) 51 assert(std::isnan(r.imag())); 59 else if (std::isfinite(testcases[i].real()) && testcases[i].real() != 0 && std::isnan(testcases[i].imag())) 61 assert(std::isnan(r.real())); 62 assert(std::isnan(r.imag())); 89 else if (std::isinf(testcases[i].real()) && std::isnan(testcases[i].imag())) 91 assert(std::isnan(r.real())); 94 else if (std::isnan(testcases[i].real()) && std::isfinite(testcases[i].imag())) 96 assert(std::isnan(r.real())); 97 assert(std::isnan(r.imag())) [all...] |
asin.pass.cpp | 54 else if ( testcases[i].real() == 0 && std::isnan(testcases[i].imag())) 58 assert(std::isnan(r.imag())); 60 else if (std::isfinite(testcases[i].real()) && std::isnan(testcases[i].imag())) 62 assert(std::isnan(r.real())); 63 assert(std::isnan(r.imag())); 83 else if (std::isinf(testcases[i].real()) && std::isnan(testcases[i].imag())) 85 assert(std::isnan(r.real())); 89 else if (std::isnan(testcases[i].real()) && std::isfinite(testcases[i].imag())) 91 assert(std::isnan(r.real())); 92 assert(std::isnan(r.imag())) [all...] |
asinh.pass.cpp | 56 else if (std::isfinite(testcases[i].real()) && std::isnan(testcases[i].imag())) 58 assert(std::isnan(r.real())); 59 assert(std::isnan(r.imag())); 77 else if (std::isinf(testcases[i].real()) && std::isnan(testcases[i].imag())) 81 assert(std::isnan(r.imag())); 83 else if (std::isnan(testcases[i].real()) && testcases[i].imag() == 0) 85 assert(std::isnan(r.real())); 89 else if (std::isnan(testcases[i].real()) && std::isfinite(testcases[i].imag())) 91 assert(std::isnan(r.real())); 92 assert(std::isnan(r.imag())) [all...] |
/prebuilts/ndk/r16/sources/cxx-stl/llvm-libc++/test/std/numerics/complex.number/complex.transcendentals/ |
cosh.pass.cpp | 49 assert(std::isnan(r.real())); 52 else if (testcases[i].real() == 0 && std::isnan(testcases[i].imag())) 54 assert(std::isnan(r.real())); 59 assert(std::isnan(r.real())); 60 assert(std::isnan(r.imag())); 62 else if (std::isfinite(testcases[i].real()) && std::isnan(testcases[i].imag())) 64 assert(std::isnan(r.real())); 65 assert(std::isnan(r.imag())); 84 assert(std::isnan(r.imag())); 86 else if (std::isinf(testcases[i].real()) && std::isnan(testcases[i].imag()) [all...] |
sinh.pass.cpp | 51 assert(std::isnan(r.imag())); 55 assert(std::isnan(r.real())); 56 assert(std::isnan(r.imag())); 58 else if (testcases[i].real() == 0 && std::isnan(testcases[i].imag())) 61 assert(std::isnan(r.imag())); 63 else if (std::isfinite(testcases[i].real()) && std::isnan(testcases[i].imag())) 65 assert(std::isnan(r.real())); 66 assert(std::isnan(r.imag())); 85 assert(std::isnan(r.imag())); 87 else if (std::isinf(testcases[i].real()) && std::isnan(testcases[i].imag()) [all...] |
exp.pass.cpp | 49 assert(std::isnan(r.real())); 50 assert(std::isnan(r.imag())); 52 else if (std::isfinite(testcases[i].real()) && std::isnan(testcases[i].imag())) 54 assert(std::isnan(r.real())); 55 assert(std::isnan(r.imag())); 72 assert(std::isnan(r.imag())); 74 else if (std::isinf(testcases[i].real()) && testcases[i].real() < 0 && std::isnan(testcases[i].imag())) 79 else if (std::isinf(testcases[i].real()) && testcases[i].real() > 0 && std::isnan(testcases[i].imag())) 82 assert(std::isnan(r.imag())); 84 else if (std::isnan(testcases[i].real()) && testcases[i].imag() == 0 [all...] |
/external/eigen/test/ |
fastmath.cpp | 24 template<typename T> bool (isnan)(T x) { return _isnan(x); } function in namespace:std 39 std::cout << "std::isnan(" << m(3) << ") = "; check((std::isnan)(m(3)),true); std::cout << " ; numext::isnan = "; check((numext::isnan)(m(3)), true); std::cout << "\n"; 48 VERIFY( (numext::isnan)(m(3)) ); 58 std::cout << "std::isnan(" << m(4) << ") = "; check((std::isnan)(m(4)),false); std::cout << " ; numext::isnan = "; check((numext::isnan)(m(4)), false); std::cout << "\n" [all...] |
/external/llvm/test/Object/Inputs/ |
IsNAN.o | |
thin.a | 7 IsNAN.o/
|
/external/v8/src/base/ |
qnx-math.h | 13 #undef isnan macro
|
/frameworks/rs/tests/java_api/RSTest_CompatLibLegacy/src/com/android/rs/test/ |
math_conformance.rs | 28 _RS_ASSERT(isnan(rootn(-10000.f, -4))); 29 _RS_ASSERT(isnan(rootn(-10000.f, 4))); 32 _RS_ASSERT(!isnan(rootn(-10000.f, -3))); 33 _RS_ASSERT(!isnan(rootn(-10000.f, 3)));
|
/prebuilts/go/darwin-x86/src/math/ |
nextafter.go | 15 case IsNaN(float64(x)) || IsNaN(float64(y)): // special case 37 case IsNaN(x) || IsNaN(y): // special case
|