/external/bison/lib/ |
isnan.c | 1 /* Test for NaN that does not need libm. 93 The NaN bit pattern is: 119 because x may be a signaling NaN. */ 131 memory_double nan; 134 nan.value = zero / zero; 136 static memory_double nan = { L_(0.0) / L_(0.0) }; 143 /* A NaN can be recognized through its exponent. But exclude +Infinity and 146 if (((m.word[EXPBIT0_WORD] ^ nan.word[EXPBIT0_WORD])
|
/external/skia/tests/ |
ScalarTest.cpp | 135 float nan = inf * 0; local 142 test_floatclass(reporter, nan, kNaN); 143 test_floatclass(reporter, -nan, kNaN); 155 { nan, false },
|
/frameworks/base/wifi/java/android/net/wifi/nan/ |
WifiNanSession.java | 17 package android.net.wifi.nan; 22 * A representation of a single publish or subscribe NAN session. This object
|
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/nan/ |
WifiNanHalMock.java | 17 package com.android.server.wifi.nan; 22 * Mock class for NAN HAL. Provides access to HAL API and to callbacks. To 86 * initialize NAN mock
|
WifiNanManagerTest.java | 17 package com.android.server.wifi.nan; 22 import android.net.wifi.nan.ConfigRequest; 23 import android.net.wifi.nan.PublishData; 24 import android.net.wifi.nan.PublishSettings; 25 import android.net.wifi.nan.SubscribeData; 26 import android.net.wifi.nan.SubscribeSettings;
|
/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;
|
/external/v8/test/webkit/fast/js/ |
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");
|
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");
|
/external/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");
|
/external/sl4a/Common/src/com/googlecode/android_scripting/facade/wifi/ |
WifiNanManagerFacade.java | 22 import android.net.wifi.nan.ConfigRequest; 23 import android.net.wifi.nan.PublishData; 24 import android.net.wifi.nan.PublishSettings; 25 import android.net.wifi.nan.SubscribeData; 26 import android.net.wifi.nan.SubscribeSettings; 27 import android.net.wifi.nan.TlvBufferUtils; 28 import android.net.wifi.nan.WifiNanEventListener; 29 import android.net.wifi.nan.WifiNanManager; 30 import android.net.wifi.nan.WifiNanSession; 31 import android.net.wifi.nan.WifiNanSessionListener [all...] |
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/ |
IntlTestDecimalFormatSymbolsC.java | 96 String nan = en.getNaN(); local 97 fr.setNaN(nan); 99 if (!nan.equals(nan2)) { 100 errln("ERROR: get/set NaN failed");
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/ |
IntlTestDecimalFormatSymbolsC.java | 92 String nan = en.getNaN(); local 93 fr.setNaN(nan); 95 if (!nan.equals(nan2)) { 96 errln("ERROR: get/set NaN failed");
|
/external/valgrind/none/tests/amd64/ |
sse4-64.stdout.exp | [all...] |
bug132918.stdout.exp | 3 xx -> 0x0000 -nan
|
/art/test/107-int-math2/src/ |
Main.java | 666 float nan) { 676 if (plus <= nan) 678 if (plus >= nan) 680 if (minus <= nan) 682 if (minus >= nan) 684 if (nan >= plus) 686 if (nan <= plus) 689 if (nan == nan) 696 double nan) { [all...] |
/external/parameter-framework/upstream/test/functional-tests/ |
FloatingPoint.cpp | 111 const float nan = std::numeric_limits<float>::quiet_NaN(); local 121 {"(NaN)", std::to_string(::utility::binaryCopy<uint32_t>(nan))},
|
/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/v8/test/cctest/compiler/ |
test-run-jsops.cc | 34 T.CheckCall(T.nan(), T.Val("3"), T.Val("B")); 36 T.CheckCall(T.nan(), T.Val("3"), T.NewObject("({})")); 48 T.CheckCall(T.nan(), T.Val("3"), T.Val("B")); 50 T.CheckCall(T.nan(), T.Val("3"), T.NewObject("({})")); 64 T.CheckCall(T.nan(), T.Val("3"), T.Val("B")); 66 T.CheckCall(T.nan(), T.Val("3"), T.NewObject("({})")); 77 T.CheckCall(T.nan(), T.Val("3"), T.Val("B")); 79 T.CheckCall(T.nan(), T.Val("3"), T.NewObject("({})")); 298 T.CheckCall(T.true_value(), T.nan(), T.undefined()); 309 T.CheckCall(T.nan(), T.Val("x"), T.undefined()) [all...] |
test-run-jscalls.cc | 63 T.CheckCall(T.nan(), T.NewObject("({ foo:foo, y:0 })"), T.Val(3)); 73 T.CheckCall(T.nan(), T.NewObject("({ foo:foo, y:0 })"), T.Val(3)); 84 T.CheckCall(T.nan(), T.undefined(), T.Val(3)); 105 T.CheckCall(T.nan(), T.Val(23), T.Val(42)); 106 T.CheckCall(T.nan(), T.Val(4.2), T.Val(2.3)); 128 T.CheckCall(T.nan(), T.undefined(), T.Val(3));
|
/ndk/tests/device/math/jni/ |
math.c | 51 dn = nan("");
|
math.cpp | 51 dn = nan("");
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/nan/ |
WifiNanNative.java | 17 package com.android.server.wifi.nan; 19 import android.net.wifi.nan.ConfigRequest; 20 import android.net.wifi.nan.PublishData; 21 import android.net.wifi.nan.PublishSettings; 22 import android.net.wifi.nan.SubscribeData; 23 import android.net.wifi.nan.SubscribeSettings; 24 import android.net.wifi.nan.WifiNanSessionListener; 32 * Native calls to access the Wi-Fi NAN HAL. 174 Log.w(TAG, "disable: cannot initialize NAN"); 203 Log.w(TAG, "publish: cannot initialize NAN"); [all...] |
/external/icu/icu4c/source/test/cintltst/ |
putiltst.c | 86 log_verbose("Testing the API uprv_fmax() with x value= NaN\n"); 88 doAssert(expn1, uprv_getNaN(), "uprv_fmax(uprv_getNaN(), 1.2) failed. when one parameter is NaN"); 93 log_verbose("Testing the API uprv_fmin() with x value= NaN\n"); 95 doAssert(expn1, uprv_getNaN(), "uprv_fmin(uprv_getNaN(), 1.2) failed. when one parameter is NaN"); 106 doAssert(uprv_trunc(uprv_getNaN()), uprv_getNaN(), "uprv_trunc(uprv_getNaN()) failed. with parameter=NaN"); 358 double nan = uprv_getNaN(); 375 remainderTest(nan, 1.0, nan); 376 remainderTest(1.0, nan, nan); [all...] |