/bionic/libm/src/ |
s_nan.c | 60 * Scan a string of hexadecimal digits (the format nan(3) expects) and 69 * impossible to use nan(3) portably anyway, so this seems good enough. 100 nan(const char *s) function 130 __weak_alias(nanl, nan);
|
/external/icu4c/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/v8/src/ |
assembler.h | 70 static const double nan; member in class:v8::internal::DoubleConstant
|
assembler.cc | 72 const double DoubleConstant::nan = OS::nan_value(); member in class:v8::internal::DoubleConstant 798 const_cast<double*>(&DoubleConstant::nan))); [all...] |
/external/webkit/Source/WebCore/html/ |
BaseDateAndTimeInputType.cpp | 85 const double nan = numeric_limits<double>::quiet_NaN(); local 86 double doubleValue = parseToDouble(value, nan); 92 const double nan = numeric_limits<double>::quiet_NaN(); local 93 double doubleValue = parseToDouble(value, nan); 113 const double nan = numeric_limits<double>::quiet_NaN(); local 114 double doubleValue = parseToDouble(value, nan);
|
NumberInputType.cpp | 97 const double nan = numeric_limits<double>::quiet_NaN(); local 98 double doubleValue = parseToDouble(value, nan); 104 const double nan = numeric_limits<double>::quiet_NaN(); local 105 double doubleValue = parseToDouble(value, nan);
|
HTMLInputElement.cpp | 336 const double nan = numeric_limits<double>::quiet_NaN(); local 337 double current = m_inputType->parseToDoubleWithDecimalPlaces(value(), nan, ¤tDecimalPlaces); 1421 const double nan = numeric_limits<double>::quiet_NaN(); 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...] |
/external/webkit/Source/JavaScriptCore/wtf/ |
MathExtras.h | 157 // Work around a bug in Win, where atan2(+-infinity, +-infinity) yields NaN instead of specific values. 162 double nan = std::numeric_limits<double>::quiet_NaN(); local 164 double result = nan; 180 // Work around a bug in the Microsoft CRT, where fmod(x, +-infinity) yields NaN instead of x. 183 // Work around a bug in the Microsoft CRT, where pow(NaN, 0) yields NaN instead of 1.
|
/libcore/luni/src/test/java/libcore/sqlite/ |
OldStmtTest.java | 276 double nan = Double.NaN; local 300 st.bind(1, nan); 326 assertEquals("Double.Nan SQLite representation", "Inf", row5[0]);
|
/external/skia/tests/ |
MathTest.cpp | 87 if (!(x == x)) { // NAN 191 float nan = sk_float_asin(2); local 200 SkFixed nan = SK_FixedNaN; 204 REPORTER_ASSERT(reporter, SkScalarIsNaN(nan)); 209 REPORTER_ASSERT(reporter, !SkScalarIsFinite(nan));
|
/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 616 static const char* nan[2] = { "nan", "NaN" }; local 625 } else { // NaN 626 inf_or_nan = nan; 636 } else { // NaN 637 inf_or_nan = nan; 766 //If numeric_limits support is correct we use the exposed values to detect NaN and infinity [all...] |
/libcore/json/src/test/java/org/json/ |
JSONObjectTest.java | 92 assertEquals(Double.NaN, object.optDouble("foo")); 183 object.putOpt("foo", Double.NaN); 313 object.put("foo", (Float) Float.NaN); 330 Number nan = new Number() { local 341 return Double.NaN; 350 object.put("foo", nan); 351 fail("Object.put() accepted a NaN (via a custom Number class)"); 442 assertEquals(Double.NaN, object.optDouble("quux")); 504 object.accumulate("foo", Double.NaN); 510 object.accumulate("foo", Double.NaN); [all...] |
/external/webkit/Source/JavaScriptCore/API/tests/ |
testapi.c | 43 static double nan(const char*) function [all...] |
/external/icu4c/i18n/ |
decimfmt.cpp | 17 * Implemented NAN and INF handling, for both parsing 1594 const UnicodeString *nan = &getConstSymbol(DecimalFormatSymbols::kNaNSymbol); local [all...] |
/external/v8/src/ia32/ |
code-stubs-ia32.cc | 275 // HeapNumber => false iff +0, -0, or NaN. 3506 NearLabel nan; local [all...] |
lithium-codegen-ia32.cc | 2828 ExternalReference nan = ExternalReference::address_of_nan(); local 3450 ExternalReference nan = ExternalReference::address_of_nan(); local [all...] |