/prebuilts/go/darwin-x86/src/runtime/ |
float.go | 11 // isNaN reports whether f is an IEEE 754 ``not-a-number'' value. 12 func isNaN(f float64) (is bool) { 19 return !isNaN(f - f) 24 return !isNaN(f) && !isFinite(f)
|
/prebuilts/go/linux-x86/src/runtime/ |
float.go | 11 // isNaN reports whether f is an IEEE 754 ``not-a-number'' value. 12 func isNaN(f float64) (is bool) { 19 return !isNaN(f - f) 24 return !isNaN(f) && !isFinite(f)
|
/external/icu/icu4c/source/i18n/ |
visibledigits.h | 41 UBool isNaN() const; 48 * If isNaN() or isInfinity() return TRUE, then the result of this 56 * If isNaN() or isInfinity() return TRUE, then the result of this 145 UBool isNaN() const { return fMantissa.isNaN(); }
|
digitlst.h | 299 UBool isNaN(void) const {return decNumberIsNaN(fDecNumber);}
|
visibledigits.cpp | 55 UBool VisibleDigits::isNaN() const { 81 if (isNaN()) {
|
/libcore/ojluni/src/main/java/sun/misc/ |
FpUtils.java | 264 * Double#isNaN(double) Double.isNaN} method; the functionality is 271 public static boolean isNaN(double d) { 272 return Double.isNaN(d); 280 * Float#isNaN(float) Float.isNaN} method; the functionality is 287 public static boolean isNaN(float f) { 288 return Float.isNaN(f); 304 return isNaN(arg1) || isNaN(arg2) [all...] |
/cts/tests/vm/src/android/vm/cts/opcodes/add_float/ |
AddFloatTest.java | 60 assertTrue(Float.isNaN(t.run(Float.POSITIVE_INFINITY,
|
/cts/tests/vm/src/android/vm/cts/opcodes/add_float_2addr/ |
AddFloat2AddrTest.java | 59 assertTrue(Float.isNaN(t.run(Float.POSITIVE_INFINITY,
|
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/add_float/ |
Test_add_float.java | 63 assertTrue(Float.isNaN(t.run(Float.POSITIVE_INFINITY,
|
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/add_float_2addr/ |
Test_add_float_2addr.java | 63 assertTrue(Float.isNaN(t.run(Float.POSITIVE_INFINITY,
|
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/double_to_float/ |
Test_double_to_float.java | 78 assertTrue(Float.isNaN(t.run(Double.NaN)));
|
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/float_to_double/ |
Test_float_to_double.java | 80 assertTrue(Double.isNaN(t.run(Float.NaN)));
|
/libcore/luni/src/test/java/libcore/java/lang/ |
OldFloatTest.java | 83 assertFalse(Float.isNaN(12.09f)); 84 assertFalse(Float.isNaN(Float.MAX_VALUE)); 85 assertFalse(Float.isNaN(Float.MIN_VALUE));
|
OldAndroidStrictMathTest.java | 95 assertTrue("Should return Double.NaN", Double.isNaN(StrictMath 150 assertTrue("Should return NaN", Double.isNaN(StrictMath 190 assertTrue("Should return NaN", Double.isNaN(StrictMath.expm1(Double.NaN))); 245 assertTrue("Should return NaN", Double.isNaN(StrictMath.hypot(Double.NaN, 247 assertTrue("Should return NaN", Double.isNaN(StrictMath.hypot(-345.2680, 286 assertTrue("Should return NaN", Double.isNaN(StrictMath 288 assertTrue("Should return NaN", Double.isNaN(StrictMath 317 assertTrue("Should return NaN", Double.isNaN(StrictMath 319 assertTrue("Should return NaN", Double.isNaN(StrictMath 437 assertTrue("Failed to round properly - NaN", Double.isNaN(StrictMat [all...] |
OldAndroidMathTest.java | 155 assertTrue("Should return Double.NaN", Double.isNaN(Math 201 assertTrue(Double.isNaN(Math.cosh(Double.NaN))); 236 assertTrue("Should return NaN", Double.isNaN(Math.expm1(Double.NaN))); 289 assertTrue("Should be NaN", Double.isNaN(Math.hypot(Double.NaN, 291 assertTrue("Should be NaN", Double.isNaN(Math.hypot(-345.2680, 326 assertTrue(Double.isNaN(Math.log10(Double.NaN))); 327 assertTrue(Double.isNaN(Math.log10(-2541.05745687234187532))); 328 assertTrue(Double.isNaN(Math.log10(-0.1))); 345 assertTrue("Should return NaN", Double.isNaN(Math.log1p(Double.NaN))); 346 assertTrue("Should return NaN", Double.isNaN(Math.log1p(-32.0482175))) [all...] |
/external/icu/android_icu4j/src/main/java/android/icu/impl/number/ |
DecimalQuantity.java | 106 public boolean isNaN();
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/number/ |
DecimalQuantity.java | 104 public boolean isNaN();
|
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/ |
RateEstimatorTest.java | 52 assertFalse(Float.isNaN(rate)); 67 assertFalse(Float.isNaN(rate)); 159 assertFalse(Float.isNaN(rate));
|
/prebuilts/go/darwin-x86/src/sort/ |
sort.go | 283 func (p Float64Slice) Less(i, j int) bool { return p[i] < p[j] || isNaN(p[i]) && !isNaN(p[j]) } 286 // isNaN is a copy of math.IsNaN to avoid a dependency on the math package. 287 func isNaN(f float64) bool {
|
/prebuilts/go/linux-x86/src/sort/ |
sort.go | 283 func (p Float64Slice) Less(i, j int) bool { return p[i] < p[j] || isNaN(p[i]) && !isNaN(p[j]) } 286 // isNaN is a copy of math.IsNaN to avoid a dependency on the math package. 287 func isNaN(f float64) bool {
|
/cts/tests/tests/util/src/android/util/cts/ |
HalfTest.java | 178 public void isNaN() { 179 assertFalse(Half.isNaN(POSITIVE_INFINITY)); 180 assertFalse(Half.isNaN(NEGATIVE_INFINITY)); 181 assertFalse(Half.isNaN(POSITIVE_ZERO)); 182 assertFalse(Half.isNaN(NEGATIVE_ZERO)); 183 assertTrue(Half.isNaN(NaN)); 184 assertTrue(Half.isNaN((short) 0x7c01)); 185 assertTrue(Half.isNaN((short) 0x7c18)); 186 assertTrue(Half.isNaN((short) 0xfc01)); 187 assertTrue(Half.isNaN((short) 0xfc98)) [all...] |
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/ |
StrictMathTest.java | 130 assertTrue("Should return Double.NaN", Double.isNaN(StrictMath 195 assertTrue("The result should be NaN.", Double.isNaN(StrictMath 217 assertTrue("The result should be NaN.", Double.isNaN(StrictMath 260 assertTrue("The result should be NaN.", Float.isNaN(StrictMath 281 assertTrue("The result should be NaN.", Float.isNaN(StrictMath 323 assertTrue("Should return NaN", Double.isNaN(StrictMath 369 assertTrue("Should return NaN", Double.isNaN(StrictMath.expm1(Double.NaN))); 471 assertTrue("Should return NaN", Double.isNaN(StrictMath.hypot(Double.NaN, 473 assertTrue("Should return NaN", Double.isNaN(StrictMath.hypot(-345.2680, 521 assertTrue("Should return NaN", Double.isNaN(StrictMat [all...] |
/external/apache-commons-math/src/main/java/org/apache/commons/math/geometry/ |
Vector3D.java | 380 public boolean isNaN() { 381 return Double.isNaN(x) || Double.isNaN(y) || Double.isNaN(z); 391 return !isNaN() && (Double.isInfinite(x) || Double.isInfinite(y) || Double.isInfinite(z)); 422 if (rhs.isNaN()) { 423 return this.isNaN(); 440 if (isNaN()) {
|
/external/deqp/framework/common/ |
tcuFloat.hpp | 118 inline bool isNaN (void) const { return exponentBits() == ((1<<ExponentBits)-1) && mantissaBits() != 0; } 254 else if (other.isNaN())
|
/external/swiftshader/third_party/LLVM/include/llvm/ADT/ |
APFloat.h | 323 bool isNaN() const { return category == fcNaN; }
|