/external/webkit/Source/JavaScriptCore/tests/mozilla/ecma/GlobalObject/ |
15.1.2.6.js | 24 ECMA Section: 15.1.2.6 isNaN( x ) 27 the result isNaN and otherwise returns false. 36 var TITLE = "isNaN( x )"; 51 array[item++] = new TestCase( SECTION, "isNaN.length", 1, isNaN.length ); 52 array[item++] = new TestCase( SECTION, "var MYPROPS=''; for ( var p in isNaN ) { MYPROPS+= p }; MYPROPS", "", eval("var MYPROPS=''; for ( var p in isNaN ) { MYPROPS+= p }; MYPROPS") ); 53 array[item++] = new TestCase( SECTION, "isNaN.length = null; isNaN.length", 1, eval("isNaN.length=null; isNaN.length") ) [all...] |
/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/projects/sample/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/v8/test/mjsunit/ |
number-is.js | 28 // Test Harmony Number.isFinite() and Number.isNaN() functions. 45 assertFalse(Number.isNaN(0)); 46 assertFalse(Number.isNaN(Number.MIN_VALUE)); 47 assertFalse(Number.isNaN(Number.MAX_VALUE)); 48 assertTrue(Number.isNaN(Number.NaN)); 49 assertFalse(Number.isNaN(Number.POSITIVE_INFINITY)); 50 assertFalse(Number.isNaN(Number.NEGATIVE_INFINITY)); 51 assertFalse(Number.isNaN(new Number(0))); 52 assertFalse(Number.isNaN(1/0)); 53 assertFalse(Number.isNaN(-1/0)) [all...] |
string-charcodeat.js | 116 assertTrue(isNaN(g().charCodeAt(-1e19)), 1 + t); 117 assertTrue(isNaN(g().charCodeAt(-0x80000001)), 2 + t); 118 assertTrue(isNaN(g().charCodeAt(-0x80000000)), 3 + t); 119 assertTrue(isNaN(g().charCodeAt(-0x40000000)), 4 + t); 120 assertTrue(isNaN(g().charCodeAt(-1)), 5 + t); 121 assertTrue(isNaN(g().charCodeAt(len)), 6 + t); 122 assertTrue(isNaN(g().charCodeAt(len + 1)), 7 + t); 123 assertTrue(isNaN(g().charCodeAt(0x3fffffff)), 8 + t); 124 assertTrue(isNaN(g().charCodeAt(0x7fffffff)), 9 + t); 125 assertTrue(isNaN(g().charCodeAt(0x80000000)), 10 + t) [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/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])
|
/frameworks/rs/java/tests/RSTest_CompatLib/src/com/android/rs/test/ |
math_conformance.rs | 9 _RS_ASSERT(isnan(rootn(1.0f, 0))); 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)));
|
/frameworks/rs/java/tests/RsTest/src/com/android/rs/test/ |
math_conformance.rs | 9 _RS_ASSERT(isnan(rootn(1.0f, 0))); 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)));
|
/ndk/sources/cxx-stl/llvm-libc++/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...] |
atanh.pass.cpp | 48 else if ( x[i].real() == 0 && std::isnan(x[i].imag())) 52 assert(std::isnan(r.imag())); 70 else if (std::isfinite(x[i].real()) && std::isnan(x[i].imag())) 72 assert(std::isnan(r.real())); 73 assert(std::isnan(r.imag())); 93 else if (std::isinf(x[i].real()) && std::isnan(x[i].imag())) 97 assert(std::isnan(r.imag())); 99 else if (std::isnan(x[i].real()) && std::isfinite(x[i].imag())) 101 assert(std::isnan(r.real())); 102 assert(std::isnan(r.imag())) [all...] |
tanh.pass.cpp | 52 assert(std::isnan(r.real())); 53 assert(std::isnan(r.imag())); 55 else if (std::isfinite(x[i].real()) && std::isnan(x[i].imag())) 57 assert(std::isnan(r.real())); 58 assert(std::isnan(r.imag())); 71 else if (std::isinf(x[i].real()) && std::isnan(x[i].imag())) 76 else if (std::isnan(x[i].real()) && x[i].imag() == 0) 78 assert(std::isnan(r.real())); 82 else if (std::isnan(x[i].real()) && std::isfinite(x[i].imag())) 84 assert(std::isnan(r.real())) [all...] |
acosh.pass.cpp | 67 else if (std::isfinite(x[i].real()) && std::isnan(x[i].imag())) 69 assert(std::isnan(r.real())); 70 assert(std::isnan(r.imag())); 106 else if (std::isinf(x[i].real()) && std::isnan(x[i].imag())) 110 assert(std::isnan(r.imag())); 112 else if (std::isnan(x[i].real()) && std::isfinite(x[i].imag())) 114 assert(std::isnan(r.real())); 115 assert(std::isnan(r.imag())); 117 else if (std::isnan(x[i].real()) && std::isinf(x[i].imag())) 121 assert(std::isnan(r.imag())) [all...] |
/external/webkit/Source/WebCore/css/ |
WebKitCSSMatrix.cpp | 108 if (isnan(x)) 110 if (isnan(y)) 112 if (isnan(z)) 119 if (isnan(scaleX)) 121 if (isnan(scaleY)) 123 if (isnan(scaleZ)) 130 if (isnan(rotX)) 133 if (isnan(rotY) && isnan(rotZ)) { 139 if (isnan(rotY) [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/llvm/test/Archive/ |
IsNAN.o | |
GNU.a | 55 IsNAN.o/ 1100833470 500 500 100644 2280 ` 75 " - GNU C++ 3.4.0 /proj/work/llvm/build/../llvm/lib/Support/IsNAN.cpp long double int char double ? llvm ? IsNAN |