/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/chromium_org/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...] |
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...] |
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/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...] |
/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/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)));
|
/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++/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...] |
/external/chromium_org/third_party/WebKit/Source/core/css/ |
CSSMatrix.cpp | 112 if (std::isnan(x)) 114 if (std::isnan(y)) 116 if (std::isnan(z)) 123 if (std::isnan(scaleX)) 125 if (std::isnan(scaleY)) 127 if (std::isnan(scaleZ)) 134 if (std::isnan(rotX)) 137 if (std::isnan(rotY) && std::isnan(rotZ)) { 143 if (std::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/chromium_org/third_party/mesa/src/src/glsl/builtins/ir/ |
isnan.ir | 1 ((function isnan
|
/external/llvm/test/Object/Inputs/ |
IsNAN.o | |
/external/mesa3d/src/glsl/builtins/ir/ |
isnan.ir | 1 ((function isnan
|