Searched refs:MIN_VALUE (Results 1 - 25 of 80) sorted by relevance

1234

/libcore/luni/src/test/java/libcore/java/sql/
H A DOldTimestampTest.java29 Timestamp t1 = new Timestamp(Long.MIN_VALUE);
32 Timestamp t2 = new Timestamp(Long.MIN_VALUE + 1);
35 Timestamp t3 = new Timestamp(Long.MIN_VALUE + 807);
38 Timestamp t4 = new Timestamp(Long.MIN_VALUE + 808);
/libcore/luni/src/test/java/libcore/java/lang/
H A DOldLongTest.java66 assertEquals(Long.MIN_VALUE, new Long(Long.MIN_VALUE).floatValue(), 0F);
71 assertEquals(0, new Long(Long.MIN_VALUE).intValue());
76 assertEquals(Long.MIN_VALUE, new Long(Long.MIN_VALUE).longValue());
81 assertEquals(0, new Long(Long.MIN_VALUE).shortValue());
H A DOldIntegerTest.java57 assertEquals(Integer.MIN_VALUE, new Integer(Integer.MIN_VALUE).intValue());
62 assertEquals(Integer.MIN_VALUE, new Integer(Integer.MIN_VALUE).longValue());
67 assertEquals(0, new Integer(Integer.MIN_VALUE).shortValue());
H A DOldDoubleTest.java26 d= new Double(Byte.MIN_VALUE);
27 assertEquals("Returned incorrect byte value", Byte.MIN_VALUE, d.byteValue());
48 assertEquals(Double.MIN_VALUE, new Double("4.9E-324").doubleValue());
55 assertEquals(Float.MIN_VALUE, new Double("1.4E-45").floatValue());
61 assertEquals("Returned incorrect int value", Integer.MIN_VALUE,
H A DOldFloatTest.java64 assertTrue(new Float(Float.MAX_VALUE).hashCode() != new Float(Float.MIN_VALUE).hashCode());
79 assertEquals(0, new Float(Float.MIN_VALUE).intValue());
85 assertFalse(Float.isNaN(Float.MIN_VALUE));
90 assertEquals(0, new Float(Float.MIN_VALUE).longValue());
H A DLongTest.java21 final long min = Long.MIN_VALUE;
40 assertEquals(-1, Long.signum(Long.MIN_VALUE));
H A DOldAndroidMathTest.java141 1.7031839360032603E-108, Math.cbrt(Double.MIN_VALUE), 0D);
182 assertEquals("Should return 1.0", 1.0, Math.cosh(Double.MIN_VALUE), 0D);
217 assertEquals("Should return MIN_VALUE", Double.MIN_VALUE, Math
218 .expm1(Double.MIN_VALUE), 0D);
261 -5413.7185, Double.MIN_VALUE), 0D);
300 assertEquals(-323.3062153431158, Math.log10(Double.MIN_VALUE));
324 assertEquals("Should return Double.MIN_VALUE", Double.MIN_VALUE, Math
325 .log1p(Double.MIN_VALUE),
[all...]
H A DOldAndroidStrictMathTest.java121 1.7031839360032603E-108, StrictMath.cbrt(Double.MIN_VALUE));
175 .cosh(Double.MIN_VALUE));
211 assertEquals("Should return MIN_VALUE", Double.MIN_VALUE, StrictMath
212 .expm1(Double.MIN_VALUE));
257 -5413.7185, Double.MIN_VALUE));
311 StrictMath.log10(Double.MIN_VALUE));
339 assertEquals("Should return Double.MIN_VALUE", Double.MIN_VALUE,
340 StrictMath.log1p(Double.MIN_VALUE));
[all...]
H A DByteTest.java21 final byte min = Byte.MIN_VALUE;
H A DIntegerTest.java21 final int min = Integer.MIN_VALUE;
H A DShortTest.java21 final short min = Short.MIN_VALUE;
H A DFloatTest.java32 assertEquals(-2.14748365E9f, Float.valueOf(String.valueOf(Integer.MIN_VALUE)));
120 f1 = Float.MIN_VALUE;
/libcore/luni/src/test/java/org/apache/harmony/crypto/tests/javax/crypto/spec/
H A DDHGenParameterSpecTest.java43 int[] primes = {Integer.MIN_VALUE, -1, 0, 1, Integer.MAX_VALUE};
44 int[] exponents = {Integer.MIN_VALUE, -1, 0, 1, Integer.MAX_VALUE};
H A DDHParameterSpecTest.java48 int[] ls = {Integer.MIN_VALUE, 0, 1, Integer.MAX_VALUE};
/libcore/luni/src/test/java/org/apache/harmony/luni/tests/java/net/
H A DURLConnectionTest.java652 hf = uc.getHeaderFieldDate("Content-Encoding", Long.MIN_VALUE);
654 Long.MIN_VALUE, hf);
655 hf = uc.getHeaderFieldDate("Content-Length", Long.MIN_VALUE);
657 Long.MIN_VALUE, hf);
658 hf = uc.getHeaderFieldDate("Content-Type", Long.MIN_VALUE);
660 Long.MIN_VALUE, hf);
661 hf = uc.getHeaderFieldDate("content-type", Long.MIN_VALUE);
663 Long.MIN_VALUE, hf);
664 hf = uc.getHeaderFieldDate("Date", Long.MIN_VALUE);
667 hf = uc.getHeaderFieldDate("SERVER", Long.MIN_VALUE);
[all...]
/libcore/luni/src/test/java/tests/api/java/lang/reflect/
H A DFieldTest.java1326 f.setByte(x, Byte.MIN_VALUE);
1338 f.setByte(x, Byte.MIN_VALUE);
1349 f.setByte(null, Byte.MIN_VALUE);
1360 f.setByte(null, Byte.MIN_VALUE);
1362 assertEquals("Returned incorrect byte field value", Byte.MIN_VALUE,
1388 f.setChar(x, Character.MIN_VALUE);
1400 f.setChar(x, Character.MIN_VALUE);
1411 f.setChar(null, Character.MIN_VALUE);
1422 f.setChar(null, Character.MIN_VALUE);
1425 Character.MIN_VALUE, va
[all...]
/libcore/luni/src/test/java/libcore/java/math/
H A DOldBigIntegerConstructorsTest.java46 bi_s.intValue() == Integer.MIN_VALUE);
H A DOldBigDecimalScaleOperationsTest.java38 a.movePointRight(Integer.MIN_VALUE + 2);
66 a.scaleByPowerOfTen(Integer.MIN_VALUE + 2);
/libcore/dex/src/main/java/com/android/dex/
H A DLeb128.java64 int end = ((value & Integer.MIN_VALUE) == 0) ? 0 : -1;
150 int end = ((value & Integer.MIN_VALUE) == 0) ? 0 : -1;
/libcore/luni/src/test/java/libcore/java/text/
H A DNumberFormatTest.java63 assertEquals("long", nf.format(BigInteger.valueOf(Long.MIN_VALUE)));
64 assertEquals("double", nf.format(BigInteger.valueOf(Long.MIN_VALUE).subtract(BigInteger.ONE)));
/libcore/luni/src/test/java/libcore/java/io/
H A DOldRandomAccessFileTest.java422 raf.writeByte(Byte.MIN_VALUE);
425 raf.writeByte(Byte.MIN_VALUE - 1);
430 Byte.MIN_VALUE, raf.readByte());
468 raf.writeChar(Character.MIN_VALUE);
471 raf.writeChar(Character.MIN_VALUE - 1);
476 Character.MIN_VALUE, raf.readChar());
532 raf.writeDouble(Double.MIN_VALUE);
569 raf.writeFloat(Float.MIN_VALUE);
588 raf.writeInt(Integer.MIN_VALUE);
591 raf.writeInt(Integer.MIN_VALUE
[all...]
/libcore/luni/src/main/java/javax/xml/datatype/
H A DDatatypeConstants.java124 public static final int FIELD_UNDEFINED = Integer.MIN_VALUE;
/libcore/luni/src/test/java/libcore/java/net/
H A DOldHttpRetryExceptionTest.java39 int [] codes = {400, -1, Integer.MAX_VALUE, Integer.MIN_VALUE, 0};
/libcore/luni/src/test/java/tests/api/javax/net/
H A DSocketFactoryTest.java61 int[] invalidPorts = {Integer.MIN_VALUE, -1, 65536, Integer.MAX_VALUE};
98 int[] invalidPorts = {Integer.MIN_VALUE, -1, 65536, Integer.MAX_VALUE};
129 int[] invalidPorts = {Integer.MIN_VALUE, -1, 65536, Integer.MAX_VALUE};
175 int[] invalidPorts = {Integer.MIN_VALUE, -1, 65536, Integer.MAX_VALUE};
/libcore/luni/src/main/java/java/lang/
H A DMath.java79 * If the argument is {@code Integer.MIN_VALUE}, {@code Integer.MIN_VALUE}
88 * Long.MIN_VALUE}, {@code Long.MIN_VALUE} is returned.
663 * <li>{@code round((anything < Long.MIN_VALUE) = Long.MIN_VALUE}</li>
665 * <li>{@code round(-infinity) = Long.MIN_VALUE}</li>
690 * <li>{@code round((anything < Integer.MIN_VALUE) = Integer.MIN_VALUE}</li>
692 * <li>{@code round(-infinity) = Integer.MIN_VALUE}</l
[all...]

Completed in 340 milliseconds

1234