/external/chromium_org/v8/test/webkit/fast/js/ |
number-toString.js | 26 var nan = 0/0; variable 40 shouldThrow("(1234.567).toString(nan)"); // nan is treated like 0 91 shouldBeEqualToString("nan.toString()", "NaN");
|
number-tofixed.js | 61 var nan = 0/0; variable 76 shouldBeEqualToString("(1234.567).toFixed(nan)", "1235"); // nan is treated like 0 102 shouldBeEqualToString("nan.toFixed()", "NaN");
|
number-toprecision.js | 35 var nan = 0/0; variable 61 shouldThrow("(1234.567).toPrecision(nan)"); // nan is treated like 0 65 shouldBeEqualToString("nan.toPrecision()", "NaN");
|
/external/chromium_org/v8/test/webkit/ |
number-toExponential.js | 26 var nan = 0/0; variable 40 shouldBeEqualToString("(123.456).toExponential(nan)", "1e+2"); // nan is treated like 0 65 shouldBeEqualToString("nan.toExponential()", "NaN");
|
/bionic/libm/upstream-freebsd/lib/msun/src/ |
s_nan.c | 39 * Scan a string of hexadecimal digits (the format nan(3) expects) and 48 * impossible to use nan(3) portably anyway, so this seems good enough. 79 nan(const char *s) function 109 __weak_reference(nan, nanl);
|
/external/chromium_org/third_party/WebKit/Source/wtf/ |
MathExtrasTest.cpp | 184 double nan = std::numeric_limits<double>::quiet_NaN(); local 200 EXPECT_EQ(1.0, pow(nan, 0.0));
|
MathExtras.h | 142 // Work around a bug in Win, where atan2(+-infinity, +-infinity) yields NaN instead of specific values. 147 double nan = std::numeric_limits<double>::quiet_NaN(); local 149 double result = nan; 165 // Work around a bug in the Microsoft CRT, where fmod(x, +-infinity) yields NaN instead of x. 168 // Work around a bug in the Microsoft CRT, where pow(NaN, 0) yields NaN instead of 1.
|
/external/eigen/test/ |
special_numbers.cpp | 18 Scalar nan = std::numeric_limits<Scalar>::quiet_NaN(); local 30 mnan(internal::random<int>(0,rows-1), internal::random<int>(0,cols-1)) = nan;
|
/ndk/sources/android/support/src/msun/ |
s_nan.c | 55 * Scan a string of hexadecimal digits (the format nan(3) expects) and 64 * impossible to use nan(3) portably anyway, so this seems good enough. 95 nan(const char *s) function 128 __weak_reference(nan, nanl);
|
/external/chromium_org/third_party/skia/tests/ |
InfRectTest.cpp | 60 float nan = inf * 0; local 61 SkASSERT(!(nan == nan)); 70 const SkScalar invalid[] = { nan, inf, -inf };
|
ScalarTest.cpp | 135 float nan = inf * 0; local 142 test_floatclass(reporter, nan, kNaN); 143 test_floatclass(reporter, -nan, kNaN); 155 { nan, false },
|
MathTest.cpp | 211 if (!(x == x)) { // NAN 311 float nan = sk_float_asin(2); local 320 REPORTER_ASSERT(reporter, SkScalarIsNaN(nan)); 325 REPORTER_ASSERT(reporter, !SkScalarIsFinite(nan));
|
/external/skia/tests/ |
InfRectTest.cpp | 60 float nan = inf * 0; local 61 SkASSERT(!(nan == nan)); 70 const SkScalar invalid[] = { nan, inf, -inf };
|
ScalarTest.cpp | 135 float nan = inf * 0; local 142 test_floatclass(reporter, nan, kNaN); 143 test_floatclass(reporter, -nan, kNaN); 155 { nan, false },
|
MathTest.cpp | 211 if (!(x == x)) { // NAN 311 float nan = sk_float_asin(2); local 320 REPORTER_ASSERT(reporter, SkScalarIsNaN(nan)); 325 REPORTER_ASSERT(reporter, !SkScalarIsFinite(nan));
|
/external/chromium_org/third_party/icu/source/test/intltest/ |
tsputil.cpp | 37 double nan = uprv_getNaN(); 67 // test infinity and nan 69 remainderTest(ninf, nan, 1.25); 70 remainderTest(pinf, nan, 1.25); 87 errln(UnicodeString("FAIL: got NaN as result without NaN as argument")); 103 double nan = uprv_getNaN(); local 125 // NaN with +Inf and -Inf 126 maxMinTest(pinf, nan, nan, TRUE) 373 double nan = uprv_getNaN(); local 400 double nan = uprv_getNaN(); local 427 double nan = uprv_getNaN(); local 454 double nan = uprv_getNaN(); local 481 double nan = uprv_getNaN(); local 508 double nan = uprv_getNaN(); local 535 double nan = uprv_getNaN(); local [all...] |
/external/icu/icu4c/source/test/intltest/ |
tsputil.cpp | 36 double nan = uprv_getNaN(); 66 // test infinity and nan 68 remainderTest(ninf, nan, 1.25); 69 remainderTest(pinf, nan, 1.25); 86 errln(UnicodeString("FAIL: got NaN as result without NaN as argument")); 102 double nan = uprv_getNaN(); local 124 // NaN with +Inf and -Inf 125 maxMinTest(pinf, nan, nan, TRUE) 372 double nan = uprv_getNaN(); local 399 double nan = uprv_getNaN(); local 426 double nan = uprv_getNaN(); local 453 double nan = uprv_getNaN(); local 480 double nan = uprv_getNaN(); local 507 double nan = uprv_getNaN(); local 534 double nan = uprv_getNaN(); local [all...] |
/external/valgrind/main/none/tests/ppc32/ |
power5+_round.c | 37 #define NAN 0x11000 44 double inf, neg0, nan; local 54 nan = strtod("nan", NULL); 59 double set[] = { inf, 1.5, 0, neg0, -1.5, -inf, nan }; 84 double set[] = { inf, 1.9, 1.1, 0, neg0, -1.1, -1.9, -inf, nan }; 85 double frin[] = { inf, 2.0, 1.0, 0, neg0, -1.0, -2.0, -inf, nan }; 86 double friz[] = { inf, 1.0, 1.0, 0, neg0, -1.0, -1.0, -inf, nan }; 87 double frip[] = { inf, 2.0, 2.0, 0, neg0, -1.0, -1.0, -inf, nan }; 88 double frim[] = { inf, 1.0, 1.0, 0, neg0, -2.0, -2.0, -inf, nan }; [all...] |
/cts/tests/tests/util/src/android/util/cts/ |
RationalTest.java | 71 // NaN. 116 // NaN is always equal to itself 117 Rational nan = NaN; local 119 assertTrue(nan.equals(nan)); 120 assertTrue(nan.equals(nan2)); 121 assertTrue(nan2.equals(nan)); 122 assertFalse(nan.equals(r)); 123 assertFalse(r.equals(nan)); [all...] |
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/unit/ |
RationalTest.java | 90 // NaN. 135 // NaN is always equal to itself 136 Rational nan = NaN; local 138 assertTrue(nan.equals(nan)); 139 assertTrue(nan.equals(nan2)); 140 assertTrue(nan2.equals(nan)); 141 assertFalse(nan.equals(r)); 142 assertFalse(r.equals(nan)); [all...] |
/external/deqp/framework/common/ |
tcuFloat.hpp | 84 * floating point zero. Inf and NaN must be specified directly with an 124 static Float nan (void); 198 inline Float<StorageType, ExponentBits, MantissaBits, ExponentBias, Flags> Float<StorageType, ExponentBits, MantissaBits, ExponentBias, Flags>::nan (void) function in class:tcu::Float 256 return nan();
|
tcuInterval.hpp | 82 Interval nan (void) const { return m_hasNaN ? TCU_NAN : Interval(); } function in class:tcu::Interval 130 static Interval unbounded (bool nan = false) 132 return Interval(nan, -TCU_INFINITY, TCU_INFINITY); 137 return 0.5 * (hi() + lo()); // returns NaN when not bounded
|
/external/stlport/src/ |
num_put_float.cpp | 42 # include <nan.h> 121 // Tests for infinity and NaN differ on different OSs. We encapsulate 617 static const char* nan[2] = { "nan", "NaN" }; local 626 } else { // NaN 627 inf_or_nan = nan; 637 } else { // NaN 638 inf_or_nan = nan; 767 //If numeric_limits support is correct we use the exposed values to detect NaN and infinity [all...] |
/ndk/sources/cxx-stl/stlport/src/ |
num_put_float.cpp | 42 # include <nan.h> 121 // Tests for infinity and NaN differ on different OSs. We encapsulate 617 static const char* nan[2] = { "nan", "NaN" }; local 626 } else { // NaN 627 inf_or_nan = nan; 637 } else { // NaN 638 inf_or_nan = nan; 767 //If numeric_limits support is correct we use the exposed values to detect NaN and infinity [all...] |
/frameworks/rs/driver/runtime/ |
rs_cl.c | 503 extern float __attribute__((overloadable)) nan(uint v) { function 574 return nan(0); [all...] |