Home
last modified time | relevance | path

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

1234567

/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 …]
/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));
Dtouint32.js38 assertEquals(0, ToUInt32(Number.MIN_VALUE), "MIN");
39 assertEquals(0, ToUInt32(-Number.MIN_VALUE), "-MIN");
Dnumber-is.js31 assertTrue(Number.isFinite(Number.MIN_VALUE));
46 assertFalse(Number.isNaN(Number.MIN_VALUE));
/external/chromium_org/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));
Dtouint32.js38 assertEquals(0, ToUInt32(Number.MIN_VALUE), "MIN");
39 assertEquals(0, ToUInt32(-Number.MIN_VALUE), "-MIN");
Dnumber-is.js31 assertTrue(Number.isFinite(Number.MIN_VALUE));
46 assertFalse(Number.isNaN(Number.MIN_VALUE));
/external/guava/guava/src/com/google/common/collect/
DDiscreteDomains.java54 return (i == Integer.MIN_VALUE) ? null : i - 1; in previous()
62 return Integer.MIN_VALUE; in minValue()
94 return (l == Long.MIN_VALUE) ? null : l - 1; in previous()
103 return Long.MIN_VALUE; in distance()
109 return Long.MIN_VALUE; in minValue()
136 BigInteger.valueOf(Long.MIN_VALUE);
/external/smali/smali/src/test/java/
DLongLiteralTest.java42 Assert.assertTrue(LiteralTools.parseLong("0x8000000000000000L") == Long.MIN_VALUE); in SuccessHexTests()
48 Assert.assertTrue(LiteralTools.parseLong("-0x8000000000000000L") == Long.MIN_VALUE); in SuccessHexTests()
73 Assert.assertTrue(LiteralTools.parseLong("9223372036854775808") == Long.MIN_VALUE); in SuccessDecTests()
80 Assert.assertTrue(LiteralTools.parseLong("-9223372036854775808") == Long.MIN_VALUE); in SuccessDecTests()
109 Assert.assertTrue(LiteralTools.parseLong("01000000000000000000000") == Long.MIN_VALUE); in SuccessOctTests()
116 Assert.assertTrue(LiteralTools.parseLong("-01000000000000000000000") == Long.MIN_VALUE); in SuccessOctTests()
DShortLiteralTest.java44 Assert.assertTrue(LiteralTools.parseShort("0x8000") == Short.MIN_VALUE); in SuccessHexTests()
50 Assert.assertTrue(LiteralTools.parseShort("-0x8000") == Short.MIN_VALUE); in SuccessHexTests()
77 Assert.assertTrue(LiteralTools.parseShort("32768") == Short.MIN_VALUE); in SuccessDecTests()
85 Assert.assertTrue(LiteralTools.parseShort("-32768") == Short.MIN_VALUE); in SuccessDecTests()
115 Assert.assertTrue(LiteralTools.parseShort("0100000") == Short.MIN_VALUE); in SuccessOctTests()
123 Assert.assertTrue(LiteralTools.parseShort("-0100000") == Short.MIN_VALUE); in SuccessOctTests()
DByteLiteralTest.java44 Assert.assertTrue(LiteralTools.parseByte("0x80t") == Byte.MIN_VALUE); in SuccessHexTests()
50 Assert.assertTrue(LiteralTools.parseByte("-0x80") == Byte.MIN_VALUE); in SuccessHexTests()
77 Assert.assertTrue(LiteralTools.parseByte("128") == Byte.MIN_VALUE); in SuccessDecTests()
85 Assert.assertTrue(LiteralTools.parseByte("-128") == Byte.MIN_VALUE); in SuccessDecTests()
115 Assert.assertTrue(LiteralTools.parseByte("0200T") == Byte.MIN_VALUE); in SuccessOctTests()
123 Assert.assertTrue(LiteralTools.parseByte("-0200") == Byte.MIN_VALUE); in SuccessOctTests()
DIntLiteralTest.java43 Assert.assertTrue(LiteralTools.parseInt("0x80000000") == Integer.MIN_VALUE); in SuccessHexTests()
49 Assert.assertTrue(LiteralTools.parseInt("-0x80000000") == Integer.MIN_VALUE); in SuccessHexTests()
76 Assert.assertTrue(LiteralTools.parseInt("2147483648") == Integer.MIN_VALUE); in SuccessDecTests()
84 Assert.assertTrue(LiteralTools.parseInt("-2147483648") == Integer.MIN_VALUE); in SuccessDecTests()
119 Assert.assertTrue(LiteralTools.parseInt("020000000000") == Integer.MIN_VALUE); in SuccessOctTests()
127 Assert.assertTrue(LiteralTools.parseInt("-020000000000") == Integer.MIN_VALUE); in SuccessOctTests()
/external/jmonkeyengine/engine/src/core/com/jme3/font/
DLetterQuad.java22 private float x0 = Integer.MIN_VALUE;
23 private float y0 = Integer.MIN_VALUE;
24 private float width = Integer.MIN_VALUE;
25 private float height = Integer.MIN_VALUE;
50 this.c = Character.MIN_VALUE; in LetterQuad()
121 return x0 == Integer.MIN_VALUE; in isInvalid()
131 if (x0 == Integer.MIN_VALUE || y0 == Integer.MIN_VALUE) { in isInvalid()
224 x0 = Integer.MIN_VALUE; in setBitmapChar()
225 y0 = Integer.MIN_VALUE; in setBitmapChar()
226 width = Integer.MIN_VALUE; in setBitmapChar()
[all …]
/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()
/external/chromium_org/content/public/android/javatests/src/org/chromium/content/browser/
DJavaBridgeCoercionTest.java173 assertEquals(Byte.MIN_VALUE + 42 - 1, mTestObject.waitForByteValue()); in testPassNumberInt32()
182 assertEquals(Short.MIN_VALUE + 42 - 1, mTestObject.waitForShortValue()); in testPassNumberInt32()
224 assertEquals(Byte.MIN_VALUE + 42 - 1, mTestObject.waitForByteValue()); in testPassNumberDouble()
225 executeJavaScript("testObject.setByteValue(" + Byte.MIN_VALUE + " - 42.1);"); in testPassNumberDouble()
229 executeJavaScript("testObject.setByteValue(" + Integer.MIN_VALUE + " - 42.1);"); in testPassNumberDouble()
239 assertEquals(Short.MIN_VALUE + 42 - 1, mTestObject.waitForShortValue()); in testPassNumberDouble()
240 executeJavaScript("testObject.setShortValue(" + Short.MIN_VALUE + " - 42.1);"); in testPassNumberDouble()
244 executeJavaScript("testObject.setShortValue(" + Integer.MIN_VALUE + " - 42.1);"); in testPassNumberDouble()
251 executeJavaScript("testObject.setIntValue(" + Integer.MIN_VALUE + " - 42.1);"); in testPassNumberDouble()
252 assertEquals(Integer.MIN_VALUE, mTestObject.waitForIntValue()); in testPassNumberDouble()
[all …]
/external/chromium_org/third_party/skia/src/animator/
DSkDisplayNumber.cpp14 SK_PROPERTY(MIN_VALUE),
24 SK_MEMBER_PROPERTY(MIN_VALUE, Float),
47 case SK_PROPERTY(MIN_VALUE): in getProperty()
/external/skia/src/animator/
DSkDisplayNumber.cpp14 SK_PROPERTY(MIN_VALUE),
24 SK_MEMBER_PROPERTY(MIN_VALUE, Float),
47 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 …]
/external/guava/guava-tests/test/com/google/common/collect/
DContiguousSetTest.java75 assertEquals(Ranges.closed(Integer.MIN_VALUE, Integer.MAX_VALUE).asSet(integers()), in testEquals()
77 assertEquals(Ranges.closed(Integer.MIN_VALUE, Integer.MAX_VALUE).asSet(integers()), in testEquals()
78 Ranges.atLeast(Integer.MIN_VALUE).asSet(integers())); in testEquals()
79 assertEquals(Ranges.closed(Integer.MIN_VALUE, Integer.MAX_VALUE).asSet(integers()), in testEquals()
128 ASSERT.that(set.tailSet(Integer.MIN_VALUE)).hasContentsInOrder(1, 2, 3); in testTailSet()
132 ASSERT.that(set.tailSet(Integer.MIN_VALUE, false)).hasContentsInOrder(1, 2, 3); in testTailSet()
156 ASSERT.that(set.subSet(Integer.MIN_VALUE, Integer.MAX_VALUE)).hasContentsInOrder(1, 2, 3); in testSubSet()
190 assertEquals(Integer.MIN_VALUE, Ranges.<Integer>all().asSet(integers()).first().intValue()); in testFirst()
255 assertEquals(Ranges.closed(Integer.MIN_VALUE, Integer.MAX_VALUE), in testRange_unboundedRanges()
257 assertEquals(Ranges.atLeast(Integer.MIN_VALUE), in testRange_unboundedRanges()
/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()

1234567