/dalvik/tests/003-omnibus-opcodes/src/ |
Compare.java | 105 float nan) { 117 if (plus <= nan) 119 if (plus >= nan) 121 if (minus <= nan) 123 if (minus >= nan) 125 if (nan >= plus) 127 if (nan <= plus) 130 if (nan == nan) 135 double nan) { [all...] |
/external/chromium/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...] |
tsdcfmsy.cpp | 106 UnicodeString nan(en.getSymbol(DecimalFormatSymbols::kNaNSymbol)); 107 fr.setSymbol(DecimalFormatSymbols::kNaNSymbol, nan); 109 if(nan != nan2) { 110 errln("ERROR: get/set NaN failed");
|
/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...] |
tsdcfmsy.cpp | 106 UnicodeString nan(en.getSymbol(DecimalFormatSymbols::kNaNSymbol)); 107 fr.setSymbol(DecimalFormatSymbols::kNaNSymbol, nan); 109 if(nan != nan2) { 110 errln("ERROR: get/set NaN failed");
|
/external/chromium/third_party/icu/source/test/cintltst/ |
putiltst.c | 64 log_verbose("Testing the API uprv_fmax() with x value= NaN\n"); 66 doAssert(expn1, uprv_getNaN(), "uprv_fmax(uprv_getNaN(), 1.2) failed. when one parameter is NaN"); 71 log_verbose("Testing the API uprv_fmin() with x value= NaN\n"); 73 doAssert(expn1, uprv_getNaN(), "uprv_fmin(uprv_getNaN(), 1.2) failed. when one parameter is NaN"); 84 doAssert(uprv_trunc(uprv_getNaN()), uprv_getNaN(), "uprv_trunc(uprv_getNaN()) failed. with parameter=NaN"); 328 double nan = uprv_getNaN(); 345 remainderTest(nan, 1.0, nan); 346 remainderTest(1.0, nan, nan); [all...] |
/external/icu4c/test/cintltst/ |
putiltst.c | 66 log_verbose("Testing the API uprv_fmax() with x value= NaN\n"); 68 doAssert(expn1, uprv_getNaN(), "uprv_fmax(uprv_getNaN(), 1.2) failed. when one parameter is NaN"); 73 log_verbose("Testing the API uprv_fmin() with x value= NaN\n"); 75 doAssert(expn1, uprv_getNaN(), "uprv_fmin(uprv_getNaN(), 1.2) failed. when one parameter is NaN"); 86 doAssert(uprv_trunc(uprv_getNaN()), uprv_getNaN(), "uprv_trunc(uprv_getNaN()) failed. with parameter=NaN"); 344 double nan = uprv_getNaN(); 361 remainderTest(nan, 1.0, nan); 362 remainderTest(1.0, nan, nan); [all...] |
/dalvik/vm/mterp/x86-atom/ |
OP_CMPL_FLOAT.S | 19 * Code: Provides a "nan" variable to specify the return value for 20 * NaN. Provides a variable "sod" which appends a "s" or a "d" 24 * to specify positive or negative bias for NaN. 37 %default { "nan":"$0xFFFFFFFF" , "sod":"s" } 68 movl $nan, (rFP, rINST, 4) # vAA<- NaN
|
/libcore/luni/src/main/native/ |
NativeDecimalFormat.cpp | 55 ScopedJavaUnicodeString nan(env, nan0); 69 result->setSymbol(DecimalFormatSymbols::kNaNSymbol, nan.unicodeString()); 81 jchar monetaryDecimalSeparator, jstring nan, jchar patternSeparator, 86 monetaryDecimalSeparator, nan, patternSeparator, percent, perMill, 95 jchar monetaryDecimalSeparator, jstring nan, jchar patternSeparator, 107 monetaryDecimalSeparator, nan, patternSeparator, percent, perMill, 299 if (strncmp(data, "NaN", 3) == 0 ||
|
/external/webkit/JavaScriptCore/wtf/ |
MathExtras.h | 136 // Work around a bug in Win, where atan2(+-infinity, +-infinity) yields NaN instead of specific values. 141 double nan = std::numeric_limits<double>::quiet_NaN(); local 143 double result = nan; 159 // Work around a bug in the Microsoft CRT, where fmod(x, +-infinity) yields NaN instead of x. 162 // Work around a bug in the Microsoft CRT, where pow(NaN, 0) yields NaN instead of 1.
|
/external/webkit/WebKitTools/simplejson/ |
decoder.py | 16 nan, inf = struct.unpack('dd', _BYTES) 17 return nan, inf, -inf 19 NaN, PosInf, NegInf = _floatconstants() 40 'NaN': NaN, 48 pattern('(-?Infinity|NaN|true|false|null)')(JSONConstant) 222 It also understands ``NaN``, ``Infinity``, and ``-Infinity`` as
|
/external/webkit/WebCore/html/ |
HTMLInputElement.cpp | 301 const double nan = numeric_limits<double>::quiet_NaN(); local 311 double doubleValue = parseToDouble(value(), nan); 337 const double nan = numeric_limits<double>::quiet_NaN(); local 347 double doubleValue = parseToDouble(value(), nan); 527 const double nan = numeric_limits<double>::quiet_NaN(); local 528 double doubleValue = parseToDouble(value(), nan); 650 const double nan = numeric_limits<double>::quiet_NaN(); local 651 double current = parseToDouble(value(), nan); 1780 const double nan = numeric_limits<double>::quiet_NaN(); local [all...] |
/external/v8/test/mjsunit/ |
string-lastindexof.js | 55 assertEquals(10, s.lastIndexOf("test", "not a number"), "nan"); 64 assertEquals(-1, s.lastIndexOf(longNonMatch, NaN), "longnan");
|
/prebuilt/linux-x86/toolchain/i686-linux-glibc2.7-4.4.3/sysroot/usr/include/bits/ |
mathcalls.h | 191 /* Return 0 if VALUE is finite or NaN, +1 if it 195 /* Return nonzero if VALUE is finite and not NaN. */ 200 /* Return 0 if VALUE is finite or NaN, +1 if it 204 /* Return nonzero if VALUE is finite and not NaN. */ 224 /* Return representation of NaN for double type. */ 225 __MATHCALLX (nan,, (__const char *__tagb), (__const__));
|
/external/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...] |
/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/luni/src/main/java/com/ibm/icu4jni/text/ |
NativeDecimalFormat.java | 143 data.monetarySeparator, data.NaN, data.patternSeparator, 228 localeData.monetarySeparator, localeData.NaN, localeData.patternSeparator, 630 char monetaryDecimalSeparator, String nan, char patternSeparator, char percent, 636 char monetaryDecimalSeparator, String nan, char patternSeparator, char percent,
|
/external/webkit/JavaScriptCore/API/tests/ |
testapi.c | 38 static double nan(const char*) function 915 assertEqualsAsNumber(jsUndefined, nan("")); [all...] |
/prebuilt/linux-x86/toolchain/i686-linux-glibc2.7-4.4.3/sysroot/usr/include/ |
math.h | 42 /* Get machine-dependent NAN value (returned for some domain errors). */ 43 # include <bits/nan.h> 190 FP_ILOGBNAN Expands to a value returned by `ilogb (NAN)'. 236 /* Return nonzero value if X is not +-Inf or NaN. */ 248 /* Return nonzero value if X is neither zero, subnormal, Inf, nor NaN. */ 251 /* Return nonzero value if X is a NaN. We could use `fpclassify' but
|
/libcore/json/src/test/java/org/json/ |
JSONObjectTest.java | 92 assertEquals(Double.NaN, object.optDouble("foo")); 183 object.putOpt("foo", Double.NaN); 300 object.put("foo", (Float) Float.NaN); 317 Number nan = new Number() { local 328 return Double.NaN; 337 object.put("foo", nan); 338 fail("Object.put() accepted a NaN (via a custom Number class)"); 429 assertEquals(Double.NaN, object.optDouble("quux")); 491 object.accumulate("foo", Double.NaN); 497 object.accumulate("foo", Double.NaN); [all...] |
/libcore/luni/src/test/java/tests/SQLite/ |
StmtTest.java | 434 double nan = Double.NaN; local 458 st.bind(1, nan); 484 assertEquals("Double.Nan SQLite representation", "Inf", row5[0]); [all...] |
/external/chromium/third_party/icu/source/i18n/ |
decimfmt.cpp | 17 * Implemented NAN and INF handling, for both parsing 1598 const UnicodeString *nan = &getConstSymbol(DecimalFormatSymbols::kNaNSymbol); local [all...] |
/external/icu4c/i18n/ |
decimfmt.cpp | 17 * Implemented NAN and INF handling, for both parsing 1571 const UnicodeString *nan = &getConstSymbol(DecimalFormatSymbols::kNaNSymbol); local [all...] |
/external/v8/src/ |
heap.cc | [all...] |
/external/v8/src/arm/ |
codegen-arm.cc | 5268 Label nan; local [all...] |