/external/icu/icu4c/source/i18n/ |
visibledigits.h | 39 UBool isNaN() const; 46 * If isNaN() or isInfinity() return TRUE, then the result of this 54 * If isNaN() or isInfinity() return TRUE, then the result of this 143 UBool isNaN() const { return fMantissa.isNaN(); }
|
digitlst.h | 297 UBool isNaN(void) const {return decNumberIsNaN(fDecNumber);}
|
visibledigits.cpp | 53 UBool VisibleDigits::isNaN() const { 79 if (isNaN()) {
|
/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 | 115 assertTrue("Should return Double.NaN", Double.isNaN(Math 161 assertTrue(Double.isNaN(Math.cosh(Double.NaN))); 196 assertTrue("Should return NaN", Double.isNaN(Math.expm1(Double.NaN))); 249 assertTrue("Should be NaN", Double.isNaN(Math.hypot(Double.NaN, 251 assertTrue("Should be NaN", Double.isNaN(Math.hypot(-345.2680, 286 assertTrue(Double.isNaN(Math.log10(Double.NaN))); 287 assertTrue(Double.isNaN(Math.log10(-2541.05745687234187532))); 288 assertTrue(Double.isNaN(Math.log10(-0.1))); 305 assertTrue("Should return NaN", Double.isNaN(Math.log1p(Double.NaN))); 306 assertTrue("Should return NaN", Double.isNaN(Math.log1p(-32.0482175))) [all...] |
/frameworks/base/services/tests/servicestests/src/com/android/server/notification/ |
RateEstimatorTest.java | 43 assertFalse(Float.isNaN(rate)); 58 assertFalse(Float.isNaN(rate)); 150 assertFalse(Float.isNaN(rate));
|
/libcore/ojluni/src/main/java/sun/misc/ |
FpUtils.java | 295 * Double#isNaN(double) Double.isNaN} method; the functionality is 302 public static boolean isNaN(double d) { 303 return Double.isNaN(d); 311 * Float#isNaN(float) Float.isNaN} method; the functionality is 318 public static boolean isNaN(float f) { 319 return Float.isNaN(f); 335 return isNaN(arg1) || isNaN(arg2) [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...] |
MathTest.java | 123 assertTrue(Double.isNaN(Math.cbrt(Double.NaN))); 179 assertTrue("The result should be NaN.", Double.isNaN(Math.copySign( 201 assertTrue("The result should be NaN.", Double.isNaN(Math.copySign( 251 assertTrue("The result should be NaN.", Float.isNaN(Math.copySign( 272 assertTrue("The result should be NaN.", Float.isNaN(Math.copySign( 309 assertTrue(Double.isNaN(Math.cosh(Double.NaN))); 350 assertTrue("Should return NaN", Double.isNaN(Math.expm1(Double.NaN))); 515 assertTrue("Should be NaN", Double.isNaN(Math.hypot(Double.NaN, 517 assertTrue("Should be NaN", Double.isNaN(Math.hypot(-345.2680, 561 assertTrue(Double.isNaN(Math.log10(Double.NaN))) [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())
|
/frameworks/base/core/java/android/util/ |
Rational.java | 160 public boolean isNaN() { 262 if (isNaN()) { 388 } else if (isNaN()) { 422 } else if (isNaN()) { 471 } else if (isNaN()) { // NaN is greater than the other non-NaN value 473 } else if (another.isNaN()) { // the other NaN is greater than this non-NaN value
|
/libcore/ojluni/src/main/java/java/lang/ |
Double.java | 558 static public boolean isNaN(double v) { 628 public boolean isNaN() { 629 return isNaN(value); [all...] |
Float.java | 470 static public boolean isNaN(float v) { 550 public boolean isNaN() { 551 return isNaN(value); [all...] |
/external/apache-commons-math/src/main/java/org/apache/commons/math/complex/ |
Complex.java | 77 private final transient boolean isNaN; 93 isNaN = Double.isNaN(real) || Double.isNaN(imaginary); 94 isInfinite = !isNaN && 109 if (isNaN()) { 169 if (isNaN()) { 211 if (isNaN() || rhs.isNaN()) { 263 if (rhs.isNaN()) { [all...] |
/external/eigen/test/ |
main.h | 414 template<typename T> bool isNaN(const T& x)
|
/external/guava/guava-gwt/test-super/com/google/common/primitives/super/com/google/common/primitives/ |
DoublesTest.java | 68 assertEquals(!(Double.isNaN(value) || Double.isInfinite(value)), Doubles.isFinite(value)); 198 assertTrue(Double.isNaN(Doubles.max(VALUES))); 219 assertTrue(Double.isNaN(Doubles.min(VALUES)));
|
FloatsTest.java | 66 assertEquals(!(Float.isInfinite(value) || Float.isNaN(value)), Floats.isFinite(value)); 195 assertTrue(Float.isNaN(Floats.max(VALUES))); 216 assertTrue(Float.isNaN(Floats.min(VALUES)));
|