/external/python/cpython2/Lib/test/ |
test_cmath.py | 76 if math.isnan(a): 77 if math.isnan(b): 436 self.assertTrue(math.isnan(phase(z))) 449 self.assertTrue(math.isnan(abs(complex(NAN, -2.3)))) 450 self.assertTrue(math.isnan(abs(complex(NAN, -0.0)))) 451 self.assertTrue(math.isnan(abs(complex(NAN, 0.0)))) 452 self.assertTrue(math.isnan(abs(complex(NAN, 2.3)))) 455 self.assertTrue(math.isnan(abs(complex(-2.3, NAN)))) 456 self.assertTrue(math.isnan(abs(complex(-0.0, NAN)))) 457 self.assertTrue(math.isnan(abs(complex(0.0, NAN))) [all...] |
/prebuilts/gdb/darwin-x86/lib/python2.7/test/ |
test_cmath.py | 76 if math.isnan(a): 77 if math.isnan(b): 405 self.assertTrue(math.isnan(phase(z))) 418 self.assertTrue(math.isnan(abs(complex(NAN, -2.3)))) 419 self.assertTrue(math.isnan(abs(complex(NAN, -0.0)))) 420 self.assertTrue(math.isnan(abs(complex(NAN, 0.0)))) 421 self.assertTrue(math.isnan(abs(complex(NAN, 2.3)))) 424 self.assertTrue(math.isnan(abs(complex(-2.3, NAN)))) 425 self.assertTrue(math.isnan(abs(complex(-0.0, NAN)))) 426 self.assertTrue(math.isnan(abs(complex(0.0, NAN))) [all...] |
/prebuilts/gdb/linux-x86/lib/python2.7/test/ |
test_cmath.py | 76 if math.isnan(a): 77 if math.isnan(b): 405 self.assertTrue(math.isnan(phase(z))) 418 self.assertTrue(math.isnan(abs(complex(NAN, -2.3)))) 419 self.assertTrue(math.isnan(abs(complex(NAN, -0.0)))) 420 self.assertTrue(math.isnan(abs(complex(NAN, 0.0)))) 421 self.assertTrue(math.isnan(abs(complex(NAN, 2.3)))) 424 self.assertTrue(math.isnan(abs(complex(-2.3, NAN)))) 425 self.assertTrue(math.isnan(abs(complex(-0.0, NAN)))) 426 self.assertTrue(math.isnan(abs(complex(0.0, NAN))) [all...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/ |
test_cmath.py | 76 if math.isnan(a): 77 if math.isnan(b): 405 self.assertTrue(math.isnan(phase(z))) 418 self.assertTrue(math.isnan(abs(complex(NAN, -2.3)))) 419 self.assertTrue(math.isnan(abs(complex(NAN, -0.0)))) 420 self.assertTrue(math.isnan(abs(complex(NAN, 0.0)))) 421 self.assertTrue(math.isnan(abs(complex(NAN, 2.3)))) 424 self.assertTrue(math.isnan(abs(complex(-2.3, NAN)))) 425 self.assertTrue(math.isnan(abs(complex(-0.0, NAN)))) 426 self.assertTrue(math.isnan(abs(complex(0.0, NAN))) [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/ |
test_cmath.py | 76 if math.isnan(a): 77 if math.isnan(b): 405 self.assertTrue(math.isnan(phase(z))) 418 self.assertTrue(math.isnan(abs(complex(NAN, -2.3)))) 419 self.assertTrue(math.isnan(abs(complex(NAN, -0.0)))) 420 self.assertTrue(math.isnan(abs(complex(NAN, 0.0)))) 421 self.assertTrue(math.isnan(abs(complex(NAN, 2.3)))) 424 self.assertTrue(math.isnan(abs(complex(-2.3, NAN)))) 425 self.assertTrue(math.isnan(abs(complex(-0.0, NAN)))) 426 self.assertTrue(math.isnan(abs(complex(0.0, NAN))) [all...] |
/external/apache-commons-math/src/main/java/org/apache/commons/math/complex/ |
Complex.java | 77 private final transient boolean isNaN; 93 isNaN = Double.isNaN(real) || Double.isNaN(imaginary); 94 isInfinite = !isNaN && 109 if (isNaN()) { 169 if (isNaN()) { 211 if (isNaN() || rhs.isNaN()) { 263 if (rhs.isNaN()) { [all...] |
/external/libcxx/test/std/numerics/complex.number/complex.value.ops/ |
arg.pass.cpp | 36 if (std::isnan(testcases[i].real()) || std::isnan(testcases[i].imag())) 37 assert(std::isnan(r));
|
/prebuilts/ndk/r16/sources/cxx-stl/llvm-libc++/test/std/numerics/complex.number/complex.value.ops/ |
arg.pass.cpp | 36 if (std::isnan(testcases[i].real()) || std::isnan(testcases[i].imag())) 37 assert(std::isnan(r));
|
/art/test/134-reg-promotion/smali/ |
Test.smali | 33 invoke-static {v2}, Ljava/lang/Float;->isNaN(F)Z 58 invoke-static {v2}, Ljava/lang/Float;->isNaN(F)Z
|
/cts/apps/CameraITS/tests/scene1/ |
test_ae_af.py | 59 assert not np.isnan(g) 62 assert not np.isnan(x)
|
/cts/apps/CameraITS/tests/scene3/ |
test_3a_consistency.py | 63 assert not np.isnan(g) 65 assert not np.isnan(x)
|
/cts/tests/sensor/jni/ |
nativeTestHelper.h | 52 ASSERT(isnan(a), "assert failed on isNan(" #a ") at " __FILE__ ":%d", __LINE__)
|
/device/google/contexthub/firmware/lib/libm/ |
wf_fmod.c | 36 if(_LIB_VERSION == _IEEE_ ||isnan(y)||isnan(x)) return z;
|
/device/linaro/bootloader/edk2/StdLib/LibC/Main/ |
isnand_ieee754.c | 52 __weak_alias(isnan,__isnand)
56 * 7.12.3.4 isnan - test for a NaN
|
/external/compiler-rt/lib/builtins/arm/ |
aeabi_cdcmp.S | 20 // if (isnan(a) || isnan(b)) {
|
aeabi_cfcmp.S | 20 // if (isnan(a) || isnan(b)) {
|
/external/compiler-rt/test/builtins/Unit/ |
unorddf2vfp_test.c | 26 int expected = (isnan(a) || isnan(b)) ? 1 : 0;
|
unordsf2vfp_test.c | 26 int expected = (isnan(a) || isnan(b)) ? 1 : 0;
|
/external/crcalc/tests/src/com/hp/creals/ |
ConversionTest.java | 36 if (!Double.isNaN(x) && !Double.isInfinite(x)) { 43 if (!Float.isNaN(f) && !Float.isInfinite(f)) {
|
/external/tensorflow/tensorflow/python/lib/core/ |
bfloat16_test.py | 46 if math.isnan(v): 47 self.assertTrue(math.isnan(w)) 98 self.assertTrue(math.isnan(float(bfloat16(3.5) + bfloat16(float("nan"))))) 110 self.assertTrue(math.isnan(float(bfloat16(3.5) - bfloat16(float("nan"))))) 121 self.assertTrue(math.isnan(float(bfloat16(3.5) * bfloat16(float("nan"))))) 124 self.assertTrue(math.isnan(float(bfloat16(0) / bfloat16(0)))) 132 self.assertTrue(math.isnan(float(bfloat16(3.5) / bfloat16(float("nan"))))) 165 a = np.isnan(bfloat16(float("nan")))
|
/packages/apps/Camera2/src/com/android/camera/data/ |
Location.java | 95 if (Double.isNaN(latitude) || Double.isNaN(longitude)
|
/prebuilts/go/darwin-x86/src/math/ |
atan2.go | 34 case IsNaN(y) || IsNaN(x):
|
bits.go | 33 // IsNaN reports whether f is an IEEE 754 ``not-a-number'' value. 34 func IsNaN(f float64) (is bool) {
|
/prebuilts/go/darwin-x86/src/runtime/ |
sqrt_test.go | 36 case math.IsNaN(a) && math.IsNaN(b):
|
/prebuilts/go/linux-x86/src/math/ |
atan2.go | 34 case IsNaN(y) || IsNaN(x):
|