/external/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/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/chromium_org/v8/test/mjsunit/ |
nans.js | 46 assertTrue(isNaN(doubles[0])); 47 assertTrue(isNaN(doubles[0]*2.0)); 48 assertTrue(isNaN(doubles[0] + 0.5)); 61 assertTrue(isNaN(doubles[0])); 62 assertTrue(isNaN(doubles[0]*2.0)); 63 assertTrue(isNaN(doubles[0] + 0.5)); 76 assertTrue(isNaN(floats[0])); 77 assertTrue(isNaN(floats[0]*2.0)); 78 assertTrue(isNaN(floats[0] + 0.5)); 91 assertTrue(isNaN(floats[0])) [all...] |
number-is.js | 29 // isFinite(), isNaN(), isInteger(), isSafeInteger(). 50 assertFalse(Number.isNaN(0)); 51 assertFalse(Number.isNaN(Number.MIN_VALUE)); 52 assertFalse(Number.isNaN(Number.MAX_VALUE)); 53 assertFalse(Number.isNaN(Number.MIN_SAFE_INTEGER - 13)); 54 assertFalse(Number.isNaN(Number.MAX_SAFE_INTEGER + 23)); 55 assertTrue(Number.isNaN(Number.NaN)); 56 assertFalse(Number.isNaN(Number.POSITIVE_INFINITY)); 57 assertFalse(Number.isNaN(Number.NEGATIVE_INFINITY)); 58 assertFalse(Number.isNaN(Number.EPSILON)) [all...] |
/external/chromium_org/v8/test/webkit/fast/js/kde/ |
GlobalObject-expected.txt | 37 PASS isNaN(NaN) is true 38 PASS isNaN('NaN') is true 39 PASS isNaN('1') is false 43 PASS isNaN(parseInt("Hello", 8)) is true 44 PASS isNaN(parseInt("FFF", 10)) is true 45 PASS isNaN(parseInt(".5", 10)) is true 48 PASS isNaN(parseInt()) is true 49 PASS isNaN(parseInt('')) is true 50 PASS isNaN(parseInt(' ')) is true 51 PASS isNaN(parseInt('a')) is tru [all...] |
GlobalObject.js | 38 shouldBeTrue("isNaN(NaN)"); 39 shouldBeTrue("isNaN('NaN')"); 40 shouldBeFalse("isNaN('1')"); 47 shouldBe('isNaN(parseInt("Hello", 8))', "true"); 48 shouldBe('isNaN(parseInt("FFF", 10))', "true"); 49 shouldBe('isNaN(parseInt(".5", 10))', "true"); 54 shouldBeTrue("isNaN(parseInt())"); 55 shouldBeTrue("isNaN(parseInt(''))"); 56 shouldBeTrue("isNaN(parseInt(' '))"); 57 shouldBeTrue("isNaN(parseInt('a'))") [all...] |
/external/bison/m4/ |
isnand.m4 | 20 dnl The variable gl_func_isnand set here is used by isnan.m4. 39 [Define if the isnan(double) function is available in libc.]) 53 AC_CACHE_CHECK([whether isnan(double) can be used with libm], 64 #elif defined isnan 66 # define isnand(x) isnan ((double)(x)) 78 AC_CACHE_CHECK([whether isnan(double) can be used without linking with libm], 89 # define isnand(x) isnan ((double)(x))
|
isnan.m4 | 0 # isnan.m4 serial 5 14 # If we replaced any of the underlying isnan* functions, replace 15 # the isnan macro; it undoubtedly suffers from the same flaws. 16 AC_MSG_CHECKING([whether isnan macro works])
|
/external/chromium_org/v8/test/mjsunit/regress/ |
regress-2596.js | 33 assertTrue(isNaN(doubles[0])); 45 assertTrue(isNaN(boom(0))); 46 assertTrue(isNaN(boom(0))); 47 assertTrue(isNaN(boom(0))); 51 assertTrue(isNaN(boom(0))); 52 assertTrue(isNaN(boom(0))); 53 assertTrue(isNaN(boom(0)));
|
/external/libcxx/test/numerics/complex.number/complex.transcendentals/ |
cosh.pass.cpp | 51 assert(std::isnan(r.real())); 54 else if (x[i].real() == 0 && std::isnan(x[i].imag())) 56 assert(std::isnan(r.real())); 61 assert(std::isnan(r.real())); 62 assert(std::isnan(r.imag())); 64 else if (std::isfinite(x[i].real()) && std::isnan(x[i].imag())) 66 assert(std::isnan(r.real())); 67 assert(std::isnan(r.imag())); 86 assert(std::isnan(r.imag())); 88 else if (std::isinf(x[i].real()) && std::isnan(x[i].imag()) [all...] |
sinh.pass.cpp | 53 assert(std::isnan(r.imag())); 57 assert(std::isnan(r.real())); 58 assert(std::isnan(r.imag())); 60 else if (x[i].real() == 0 && std::isnan(x[i].imag())) 63 assert(std::isnan(r.imag())); 65 else if (std::isfinite(x[i].real()) && std::isnan(x[i].imag())) 67 assert(std::isnan(r.real())); 68 assert(std::isnan(r.imag())); 87 assert(std::isnan(r.imag())); 89 else if (std::isinf(x[i].real()) && std::isnan(x[i].imag()) [all...] |
exp.pass.cpp | 49 assert(std::isnan(r.real())); 50 assert(std::isnan(r.imag())); 52 else if (std::isfinite(x[i].real()) && std::isnan(x[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(x[i].real()) && x[i].real() < 0 && std::isnan(x[i].imag())) 79 else if (std::isinf(x[i].real()) && x[i].real() > 0 && std::isnan(x[i].imag())) 82 assert(std::isnan(r.imag())); 84 else if (std::isnan(x[i].real()) && x[i].imag() == 0 [all...] |
asin.pass.cpp | 55 else if ( x[i].real() == 0 && std::isnan(x[i].imag())) 59 assert(std::isnan(r.imag())); 61 else if (std::isfinite(x[i].real()) && std::isnan(x[i].imag())) 63 assert(std::isnan(r.real())); 64 assert(std::isnan(r.imag())); 84 else if (std::isinf(x[i].real()) && std::isnan(x[i].imag())) 86 assert(std::isnan(r.real())); 90 else if (std::isnan(x[i].real()) && std::isfinite(x[i].imag())) 92 assert(std::isnan(r.real())); 93 assert(std::isnan(r.imag())) [all...] |
asinh.pass.cpp | 57 else if (std::isfinite(x[i].real()) && std::isnan(x[i].imag())) 59 assert(std::isnan(r.real())); 60 assert(std::isnan(r.imag())); 78 else if (std::isinf(x[i].real()) && std::isnan(x[i].imag())) 82 assert(std::isnan(r.imag())); 84 else if (std::isnan(x[i].real()) && x[i].imag() == 0) 86 assert(std::isnan(r.real())); 90 else if (std::isnan(x[i].real()) && std::isfinite(x[i].imag())) 92 assert(std::isnan(r.real())); 93 assert(std::isnan(r.imag())) [all...] |
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/numerics/complex.number/complex.transcendentals/ |
cosh.pass.cpp | 51 assert(std::isnan(r.real())); 54 else if (x[i].real() == 0 && std::isnan(x[i].imag())) 56 assert(std::isnan(r.real())); 61 assert(std::isnan(r.real())); 62 assert(std::isnan(r.imag())); 64 else if (std::isfinite(x[i].real()) && std::isnan(x[i].imag())) 66 assert(std::isnan(r.real())); 67 assert(std::isnan(r.imag())); 86 assert(std::isnan(r.imag())); 88 else if (std::isinf(x[i].real()) && std::isnan(x[i].imag()) [all...] |
sinh.pass.cpp | 53 assert(std::isnan(r.imag())); 57 assert(std::isnan(r.real())); 58 assert(std::isnan(r.imag())); 60 else if (x[i].real() == 0 && std::isnan(x[i].imag())) 63 assert(std::isnan(r.imag())); 65 else if (std::isfinite(x[i].real()) && std::isnan(x[i].imag())) 67 assert(std::isnan(r.real())); 68 assert(std::isnan(r.imag())); 87 assert(std::isnan(r.imag())); 89 else if (std::isinf(x[i].real()) && std::isnan(x[i].imag()) [all...] |
exp.pass.cpp | 49 assert(std::isnan(r.real())); 50 assert(std::isnan(r.imag())); 52 else if (std::isfinite(x[i].real()) && std::isnan(x[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(x[i].real()) && x[i].real() < 0 && std::isnan(x[i].imag())) 79 else if (std::isinf(x[i].real()) && x[i].real() > 0 && std::isnan(x[i].imag())) 82 assert(std::isnan(r.imag())); 84 else if (std::isnan(x[i].real()) && x[i].imag() == 0 [all...] |
/external/bison/lib/ |
isnanf-nolibm.h | 18 /* Get declaration of isnan macro or (older) isnanf function. */ 21 /* GCC 4.0 and newer provides three built-ins for isnan. */ 24 # elif defined isnan 26 # define isnanf(x) isnan ((float)(x))
|
isnanl-nolibm.h | 18 /* Get declaration of isnan macro or (older) isnanl function. */ 21 /* GCC 4.0 and newer provides three built-ins for isnan. */ 24 # elif defined isnan 26 # define isnanl(x) isnan ((long double)(x))
|
/external/chromium_org/third_party/mesa/src/src/glsl/builtins/ir/ |
isnan.ir | 1 ((function isnan
|
/external/chromium_org/v8/src/base/ |
qnx-math.h | 13 #undef isnan macro
|
/external/chromium_org/v8/test/mjsunit/es6/ |
math-cbrt.js | 5 assertTrue(isNaN(Math.cbrt(NaN))); 6 assertTrue(isNaN(Math.cbrt(function() {}))); 7 assertTrue(isNaN(Math.cbrt({ toString: function() { return NaN; } }))); 8 assertTrue(isNaN(Math.cbrt({ valueOf: function() { return "abc"; } })));
|
/external/llvm/test/Object/Inputs/ |
IsNAN.o | |
/external/mesa3d/src/glsl/builtins/ir/ |
isnan.ir | 1 ((function isnan
|
/frameworks/rs/java/tests/RSTest_CompatLib/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)));
|