Home
last modified time | relevance | path

Searched refs:MIN_VALUE (Results 1 – 25 of 101) sorted by relevance

12345

/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/lang/
DMathTest.java149 1.7031839360032603E-108, Math.cbrt(Double.MIN_VALUE), 0D); in test_cbrt_D()
169 Double.MIN_NORMAL, Double.MIN_NORMAL / 2, Double.MIN_VALUE, +0.0,
170 0.0, -0.0, -Double.MIN_VALUE, -Double.MIN_NORMAL / 2,
242 Float.MIN_NORMAL, Float.MIN_NORMAL / 2, Float.MIN_VALUE, +0.0f,
243 0.0f, -0.0f, -Float.MIN_VALUE, -Float.MIN_NORMAL / 2,
343 assertEquals("Should return 1.0", 1.0, Math.cosh(Double.MIN_VALUE), 0D); in test_cosh_D()
384 assertEquals("Should return MIN_VALUE", Double.MIN_VALUE, Math in test_expm1_D()
385 .expm1(Double.MIN_VALUE), 0D); in test_expm1_D()
425 -Double.MIN_NORMAL / 2, Double.MIN_VALUE, -Double.MIN_VALUE, +0.0,
471 … Float.MIN_VALUE, -Float.MIN_VALUE, +0.0f, 0.0f, -0.0f, Float.NaN,1,Float.MIN_NORMAL * 1.5f };
[all …]
DStrictMathTest.java156 1.7031839360032603E-108, StrictMath.cbrt(Double.MIN_VALUE)); in test_cbrt_D()
348 .cosh(Double.MIN_VALUE)); in test_cosh_D()
390 assertEquals("Should return MIN_VALUE", Double.MIN_VALUE, StrictMath in test_expm1_D()
391 .expm1(Double.MIN_VALUE)); in test_expm1_D()
483 -5413.7185, Double.MIN_VALUE)); in test_hypot_DD()
546 StrictMath.log10(Double.MIN_VALUE)); in test_log10_D()
577 assertEquals("Should return Double.MIN_VALUE", Double.MIN_VALUE, in test_log1p_D()
578 StrictMath.log1p(Double.MIN_VALUE)); in test_log1p_D()
948 assertEquals(64.0, StrictMath.scalb(Double.MIN_VALUE, 1080)); in test_scalb_DI()
979 Double.MIN_VALUE, 8000)); in test_scalb_DI()
[all …]
DLongTest.java324 .toBinaryString(Long.MIN_VALUE) in test_toBinaryStringJ()
341 Long.MIN_VALUE)); in test_toHexStringJ()
354 Long.MIN_VALUE)); in test_toOctalStringJ()
367 assertEquals("Returned incorrect String", "-9223372036854775808", new Long(Long.MIN_VALUE) in test_toString2()
381 … assertEquals("Returned incorrect String", "-9223372036854775808", Long.toString(Long.MIN_VALUE) in test_toStringJ2()
422 "-9223372036854775808").longValue() == Long.MIN_VALUE); in test_valueOfLjava_lang_String2()
472 "-9223372036854775808", 10).longValue() == Long.MIN_VALUE); in test_valueOfLjava_lang_StringI()
476 "-8000000000000000", 16).longValue() == Long.MIN_VALUE); in test_valueOfLjava_lang_StringI()
512 assertEquals(new Long(Long.MIN_VALUE), Long.valueOf(Long.MIN_VALUE)); in test_valueOfJ()
905 assertEquals(0, Long.numberOfLeadingZeros(Long.MIN_VALUE)); in test_numberOfLeadingZerosJ()
[all …]
DIntegerTest.java450 Integer.MIN_VALUE)); in test_toBinaryStringI()
471 + Integer.toHexString(Integer.MIN_VALUE), Integer.toHexString( in test_toHexStringI()
472 Integer.MIN_VALUE).equals("80000000")); in test_toHexStringI()
484 Integer.MIN_VALUE)); in test_toOctalStringI()
511 Integer.MIN_VALUE)); in test_toStringI2()
572 .intValue() == Integer.MIN_VALUE); in test_valueOfLjava_lang_String2()
615 .intValue() == Integer.MIN_VALUE); in test_valueOfLjava_lang_StringI2()
619 .intValue() == Integer.MIN_VALUE); in test_valueOfLjava_lang_StringI2()
675 assertEquals(new Integer(Integer.MIN_VALUE), Integer.valueOf(Integer.MIN_VALUE)); in test_valueOfI()
1071 assertEquals(0, Integer.numberOfLeadingZeros(Integer.MIN_VALUE)); in test_numberOfLeadingZerosI()
[all …]
DFloatTest.java133 -Float.MIN_VALUE, -0f, 0f, Float.MIN_VALUE, 2f, Float.MAX_VALUE, in test_compare()
293 assertEquals("Incorrect float returned, expected minimum float.", Float.MIN_VALUE, in test_parseFloatLjava_lang_String()
935 -Float.MIN_VALUE, -0f, 0f, Float.MIN_VALUE, 2f, Float.MAX_VALUE, in test_compareToLjava_lang_Float()
1008 assertEquals("0x0.000002p-126", Float.toHexString(Float.MIN_VALUE)); in test_toHexStringF()
1030 assertEquals(new Float(Float.MIN_VALUE), Float.valueOf(Float.MIN_VALUE)); in test_valueOfF()
/external/v8/test/mjsunit/
Dnumber-limits.js34 var mulBelowMin = Number.MIN_VALUE * (1 - eps);
35 var addBelowMin = Number.MIN_VALUE - eps;
40 assertTrue(mulBelowMin == Number.MIN_VALUE ||
42 assertTrue(addBelowMin == Number.MIN_VALUE ||
Dmath-abs.js59 assertEquals(Number.MIN_VALUE, Math.abs(Number.MIN_VALUE));
60 assertEquals(Number.MIN_VALUE, Math.abs(-Number.MIN_VALUE));
Ddiv-mod.js120 var min_normal = Number.MIN_VALUE * Math.pow(2, 52);
121 var max_denormal = Number.MIN_VALUE * (Math.pow(2, 52) - 1);
127 Number.MIN_VALUE,
128 3 * Number.MIN_VALUE,
Dtouint32.js38 assertEquals(0, ToUInt32(Number.MIN_VALUE), "MIN");
39 assertEquals(0, ToUInt32(-Number.MIN_VALUE), "-MIN");
Ddouble-equals.js43 assertTrue(Number.MIN_VALUE == Number.MIN_VALUE, "MIN == MIN");
/external/apache-xml/src/main/java/org/apache/xml/utils/
DIntVector.java238 m_map[i] = java.lang.Integer.MIN_VALUE; in removeAllElements()
265 m_map[i] = java.lang.Integer.MIN_VALUE; in removeElement()
290 m_map[i] = java.lang.Integer.MIN_VALUE; in removeElementAt()
361 return java.lang.Integer.MIN_VALUE; in indexOf()
383 return java.lang.Integer.MIN_VALUE; in indexOf()
405 return java.lang.Integer.MIN_VALUE; in lastIndexOf()
DObjectVector.java358 return java.lang.Integer.MIN_VALUE; in indexOf()
380 return java.lang.Integer.MIN_VALUE; in indexOf()
402 return java.lang.Integer.MIN_VALUE; in lastIndexOf()
/external/skia/src/animator/
DSkDisplayNumber.cpp22 SK_PROPERTY(MIN_VALUE),
32 SK_MEMBER_PROPERTY(MIN_VALUE, Float),
48 case SK_PROPERTY(MIN_VALUE): in getProperty()
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/util/
DArrays2Test.java37 -Double.MAX_VALUE, -2d, -Double.MIN_VALUE, -0d, 0d, in test_binarySearch$DD()
38 Double.MIN_VALUE, 2d, Double.MAX_VALUE, in test_binarySearch$DD()
57 -Float.MAX_VALUE, -2f, -Float.MIN_VALUE, -0f, 0f, in test_binarySearch$FF()
58 Float.MIN_VALUE, 2f, Float.MAX_VALUE, Float.POSITIVE_INFINITY, in test_binarySearch$FF()
79 Arrays.fill(x, Double.MIN_VALUE); in test_equals$D$D()
102 Arrays.fill(x, Float.MIN_VALUE); in test_equals$F$F()
131 …double[] specials1 = new double[]{Double.NaN, Double.MAX_VALUE, Double.MIN_VALUE, 0d, -0d, Double.… in test_sort$D()
132 …e[]{0d, Double.POSITIVE_INFINITY, -0d, Double.NEGATIVE_INFINITY, Double.MIN_VALUE, Double.NaN, Dou… in test_sort$D()
133 …double[] answer = new double[]{Double.NEGATIVE_INFINITY, -0d, 0d, Double.MIN_VALUE, Double.MAX_VAL… in test_sort$D()
167 …float[] specials1 = new float[]{Float.NaN, Float.MAX_VALUE, Float.MIN_VALUE, 0f, -0f, Float.POSITI… in test_sort$F()
[all …]
DFormatterTest.java2782 {Float.MIN_VALUE, "%e", "1.401298e-45"}, in test_formatLjava_lang_String$Ljava_lang_Object_FloatConversionE()
2783 {Float.MIN_VALUE, "%#.0e", "1.e-45"}, in test_formatLjava_lang_String$Ljava_lang_Object_FloatConversionE()
2784 {Float.MIN_VALUE, "%#- (9.8e", " 1.40129846e-45"}, in test_formatLjava_lang_String$Ljava_lang_Object_FloatConversionE()
2785 {Float.MIN_VALUE, "%#+0(8.4e", "+1.4013e-45"}, in test_formatLjava_lang_String$Ljava_lang_Object_FloatConversionE()
2786 {Float.MIN_VALUE, "%-+(1.6e", "+1.401298e-45"}, in test_formatLjava_lang_String$Ljava_lang_Object_FloatConversionE()
2787 {Float.MIN_VALUE, "% 0(12e", " 1.401298e-45"}, in test_formatLjava_lang_String$Ljava_lang_Object_FloatConversionE()
2882 {Double.MIN_VALUE, "%e", "4.900000e-324"}, in test_formatLjava_lang_String$Ljava_lang_Object_FloatConversionE()
2883 {Double.MIN_VALUE, "%#.0e", "5.e-324"}, in test_formatLjava_lang_String$Ljava_lang_Object_FloatConversionE()
2884 {Double.MIN_VALUE, "%#- (9.8e", " 4.90000000e-324"}, in test_formatLjava_lang_String$Ljava_lang_Object_FloatConversionE()
2885 {Double.MIN_VALUE, "%#+0(8.4e", "+4.9000e-324"}, in test_formatLjava_lang_String$Ljava_lang_Object_FloatConversionE()
[all …]
DIllegalFormatPrecisionExceptionTest.java33 Integer.MIN_VALUE); in test_illegalFormatPrecisionException()
34 assertEquals(Integer.MIN_VALUE, illegalFormatPrecisionException in test_illegalFormatPrecisionException()
/external/webkit/Source/JavaScriptCore/tests/mozilla/ecma/Math/
D15.8.2.1.js67 …e( SECTION, "Math.abs( - MIN_VALUE )", Number.MIN_VALUE, Math.abs( -Number.MIN_VAL…
69 …se( SECTION, "Math.abs( MIN_VALUE )", Number.MIN_VALUE, Math.abs( Number.MIN_VAL…
D15.8.2.6.js73 … = new TestCase( SECTION, "Math.ceil(-Number.MIN_VALUE)", -0, Math.ceil(-Number.MIN_VALUE) );
74 … "Infinity/Math.ceil(-Number.MIN_VALUE)", -Infinity, Infinity/Math.ceil(-Number.MIN_VALUE) );
85 …, "Math.ceil(-Number.MIN_VALUE)", -Math.floor(Number.MIN_VALUE), Math.ceil(-Number.MIN_VALUE
/external/apache-harmony/crypto/src/test/api/java/org/apache/harmony/crypto/tests/javax/crypto/spec/
DDHGenParameterSpecTest.java43 int[] primes = {Integer.MIN_VALUE, -1, 0, 1, Integer.MAX_VALUE}; in testDHGenParameterSpec()
44 int[] exponents = {Integer.MIN_VALUE, -1, 0, 1, Integer.MAX_VALUE}; in testDHGenParameterSpec()
/external/apache-harmony/text/src/test/java/org/apache/harmony/text/tests/java/text/
DParsePositionTest.java30 ParsePosition pp1 = new ParsePosition(Integer.MIN_VALUE); in test_ConstructorI()
31 assertTrue("Initialization failed.", pp1.getIndex() == Integer.MIN_VALUE); in test_ConstructorI()
/external/webkit/Source/JavaScriptCore/tests/mozilla/ecma/TypeConversion/
D9.9-1.js83 …"Object(Number.MIN_VALUE).valueOf()", 5e-324, (Object(Number.MIN_VALUE)).valueOf() );
84 …TION, "typeof Object(Number.MIN_VALUE)", "object", typeof Object(Number.MIN_VALUE) );
85 … "(Object(Number.MIN_VALUE)).__proto__", Number.prototype, (Object(Number.MIN_VALUE)).__proto__ );
/external/apache-harmony/archive/src/test/java/org/apache/harmony/archive/tests/java/util/zip/
DAdler32Test.java52 adl.update(Integer.MIN_VALUE); in test_getValue()
94 adl.update(Integer.MIN_VALUE); in test_updateI()
/external/webkit/Source/JavaScriptCore/tests/mozilla/ecma/GlobalObject/
D15.1.2.1-1.js70 … "eval(Number.MIN_VALUE)", 5e-308, eval(Number.MIN_VALUE) );
71 … "eval(-Number.MIN_VALUE)", -5e-308, eval(-Number.MIN_VALUE) );
/external/guava/src/com/google/common/primitives/
DSignedBytes.java65 if (value < Byte.MIN_VALUE) { in saturatedCast()
66 return Byte.MIN_VALUE; in saturatedCast()
/external/apache-harmony/sql/src/test/java/org/apache/harmony/sql/tests/java/sql/
DTimestampTest.java415 Timestamp t1 = new Timestamp(Long.MIN_VALUE); in testToString()
418 Timestamp t2 = new Timestamp(Long.MIN_VALUE + 1); in testToString()
421 Timestamp t3 = new Timestamp(Long.MIN_VALUE + 807); in testToString()
424 Timestamp t4 = new Timestamp(Long.MIN_VALUE + 808); in testToString()
614 t1.setTime(Long.MIN_VALUE); in testCompareToTimestamp()
615 t2.setDate(Integer.MIN_VALUE); in testCompareToTimestamp()

12345