/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/skia/tests/ |
InfRectTest.cpp | 63 float nan = inf * 0; local 64 SkASSERT(!(nan == nan)); 67 SkFixed nan = SK_FixedNaN; 77 const SkScalar invalid[] = { nan, inf, -inf };
|
ScalarTest.cpp | 124 float nan = inf * 0; local 131 test_floatclass(reporter, nan, kNaN); 132 test_floatclass(reporter, -nan, kNaN); 144 { nan, false },
|
MathTest.cpp | 186 if (!(x == x)) { // NAN 291 float nan = sk_float_asin(2); local 300 SkFixed nan = SK_FixedNaN; 304 REPORTER_ASSERT(reporter, SkScalarIsNaN(nan)); 309 REPORTER_ASSERT(reporter, !SkScalarIsFinite(nan));
|
PathTest.cpp | 350 const SkScalar nan = SK_ScalarNaN; local 357 r.set(0, 0, nan, 0); 375 pts[1].set(nan, 0); 384 const SkScalar nan = SK_ScalarNaN; local 401 path.moveTo(nan, 0); [all...] |
/external/icu4c/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...] |
/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); 1417 const double nan = numeric_limits<double>::quiet_NaN(); local [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/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/compile/libbcc/lib/Renderscript/runtime/ |
rs_cl.c | 503 extern float __attribute__((overloadable)) nan(uint v) { function 555 return nan(0); 578 return nan(0); [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 1915 const UnicodeString *nan = &getConstSymbol(DecimalFormatSymbols::kNaNSymbol); local [all...] |
/external/v8/src/ia32/ |
code-stubs-ia32.cc | 495 // heap number -> false iff +0, -0, or NaN. 4315 Label nan; local [all...] |
lithium-codegen-ia32.cc | 3145 ExternalReference nan = local 3821 ExternalReference nan = local [all...] |
/external/v8/src/ |
objects.cc | 12951 HeapNumber* nan = GetIsolate()->heap()->nan_value(); local [all...] |
/prebuilts/tools/common/m2/internal/xalan/xalan/2.6.0/ |
xalan-2.6.0.jar | |