/openjdk7/langtools/test/tools/javac/boxing/ |
H A D | NoBoxingDouble.java | 33 Double d = 0D;
|
/openjdk7/langtools/test/tools/javac/synthesize/ |
H A D | Double.java | 3 public class Double extends Number class in inherits:Number 5 public static Double valueOf(double v) { 6 return new Double(v); 9 public Double(double v) { method in class:Double
|
/openjdk7/jdk/test/java/beans/PropertyEditor/ |
H A D | TestDoubleClassJava.java | 27 * @summary Tests PropertyEditor for value of type Double 33 new TestEditor(Double.class).testJava(Double.valueOf(12.34));
|
H A D | TestDoubleTypeJava.java | 33 new TestEditor(Double.TYPE).testJava(Double.valueOf(12.34));
|
H A D | TestDoubleClassNull.java | 27 * @summary Tests PropertyEditor for null value of type Double 33 new TestEditor(Double.class).testJava(null);
|
H A D | TestDoubleClass.java | 27 * @summary Tests PropertyEditor for value of type Double with security manager 34 new TestEditor(Double.class);
|
H A D | TestDoubleType.java | 34 new TestEditor(Double.TYPE);
|
H A D | TestDoubleTypeNull.java | 33 new TestEditor(Double.TYPE).testJava(null);
|
/openjdk7/jdk/test/java/lang/Double/ |
H A D | Extrema.java | 27 * @summary Testing values of Double.{MIN_VALUE, MIN_NORMAL, MAX_VALUE} 33 if (Double.MIN_VALUE != Double.longBitsToDouble(0x1L)) 34 throw new RuntimeException("Double.MIN_VALUE is not equal "+ 37 if (Double.MIN_NORMAL != Double.longBitsToDouble(0x0010000000000000L)) 38 throw new RuntimeException("Double.MIN_NORMAL is not equal "+ 41 if (Double.MAX_VALUE != Double.longBitsToDouble(0x7fefffffffffffffL)) 42 throw new RuntimeException("Double [all...] |
H A D | Constants.java | 28 * @summary Testing constant-ness of Double.{MIN_VALUE, MAX_VALUE}, etc. 35 * public static final fields in java.lang.Double are "constant 43 case (int)Double.NaN: // 0 44 System.out.println("Double.NaN is a constant!"); 46 case (int)Double.MIN_VALUE + 1: // 0 + 1 47 System.out.println("Double.MIN_VALUE is a constant!"); 49 case (int)Double.MIN_NORMAL + 2: // 0 + 2 50 System.out.println("Double.MIN_NORMAL is a constant!"); 52 case Double.MIN_EXPONENT: // -1022 53 System.out.println("Double [all...] |
H A D | ToString.java | 27 * @summary Tests for Double.toString 34 if (!Double.toString(0.001).equals("0.001")) 35 throw new RuntimeException("Double.toString(0.001) is not \"0.001\""); 36 if (!Double.toString(0.002).equals("0.002")) 37 throw new RuntimeException("Double.toString(0.001) is not \"0.002\"");
|
H A D | NaNInfinityParsing.java | 35 * 4428772 -- Establish invariant for Float & Double classes and 38 * Added capability for parse{Float, Double} and related methods 129 if(!Double.isNaN(d=Double.parseDouble(NaNStrings[i]))) { 138 if(!Double.isInfinite(d=Double.parseDouble(infinityStrings[i]))) { 147 if(d != (negative?Double.NEGATIVE_INFINITY: 148 Double.POSITIVE_INFINITY)) 158 d = Double.parseDouble(invalidStrings[i]);
|
/openjdk7/langtools/test/tools/javac/diags/examples/ |
H A D | CantResolveArgsParams.java | 28 { this.<Integer,Double>m2(1, ""); }
|
/openjdk7/jdk/test/java/lang/StrictMath/ |
H A D | Tests.java | 38 if (Double.compare(expected, result ) != 0) { 40 "\tFor input " + input + "\t(" + Double.toHexString(input) + ")\n" + 41 "\texpected " + expected + "\t(" + Double.toHexString(expected) + ")\n" + 42 "\tgot " + result + "\t(" + Double.toHexString(result) + ")."); 51 if (Double.compare(expected, result ) != 0) { 53 "\tFor input " + input1 + "\t(" + Double.toHexString(input1) + "), " + 54 + input2 + "\t(" + Double.toHexString(input2) + ")\n" + 55 "\texpected " + expected + "\t(" + Double.toHexString(expected) + ")\n" + 56 "\tgot " + result + "\t(" + Double.toHexString(result) + ").");
|
/openjdk7/langtools/test/tools/javac/ |
H A D | HexFloatLiterals.java | 39 check(-0X.003p12d, Double.parseDouble("-0X.003p12d")); 41 check(0x.006p11D, Double.parseDouble("0x.006p11D")); 42 check(0X.00cP10D, Double.parseDouble("0X.00cP10D")); 43 check(-0x.018P9, Double.parseDouble("-0x.018P9")); 44 check(0x.018P9D, Double.parseDouble("0x.018P9D")); 45 check(0X.018P9D, Double.parseDouble("0X.018P9D")); 47 check(0x.3p4d, Double.parseDouble("0x.3p4d")); 50 check(0x1.8p1d, Double.parseDouble("0x1.8p1d")); 51 check(0X1.8p1D, Double.parseDouble("0X1.8p1D")); 53 check(0X1.8P1, Double [all...] |
/openjdk7/langtools/test/tools/javac/6717241/ |
H A D | T6717241b.java | 16 T6717241b.<Integer,Double>m2(1, "");
|
/openjdk7/hotspot/test/compiler/6340864/ |
H A D | TestDoubleVect.java | 40 System.out.println("Testing Double vectors"); 96 a1[0] = Double.NaN; 97 a1[1] = Double.POSITIVE_INFINITY; 98 a1[2] = Double.NEGATIVE_INFINITY; 99 a1[3] = Double.MAX_VALUE; 100 a1[4] = Double.MIN_VALUE; 101 a1[5] = Double.MIN_NORMAL; 118 errn += verify("test_addc: ", 0, a0[0], (Double.NaN+VALUE)); 119 errn += verify("test_addc: ", 1, a0[1], (Double.POSITIVE_INFINITY+VALUE)); 120 errn += verify("test_addc: ", 2, a0[2], (Double [all...] |
/openjdk7/jdk/src/share/classes/com/sun/beans/decoder/ |
H A D | DoubleElementHandler.java | 30 * The class {@link Double} is used as wrapper for these values. 36 * <method name="valueOf" class="java.lang.Double"> 39 * which is equivalent to {@code Double.valueOf("1.23e45")} in Java code. 61 return Double.valueOf(argument);
|
/openjdk7/langtools/test/tools/javac/cast/6548436/ |
H A D | T6548436d.java | 37 static void test(Base<? extends Double> je) {
|
/openjdk7/jdk/test/java/awt/geom/CubicCurve2D/ |
H A D | ContainsTest.java | 39 CubicCurve2D c = new CubicCurve2D.Double(0, 0, 4, -4, -2, -4, 2, 0); 40 Rectangle2D r = new Rectangle2D.Double(0.75, -2.5, 0.5, 2);
|
H A D | IntersectsTest.java | 37 CubicCurve2D c = new CubicCurve2D.Double(50.0, 300.0, 41 Rectangle2D r = new Rectangle2D.Double(260, 300, 10, 10);
|
/openjdk7/jdk/src/share/classes/sun/misc/ |
H A D | DoubleConsts.java | 41 public static final double POSITIVE_INFINITY = java.lang.Double.POSITIVE_INFINITY; 42 public static final double NEGATIVE_INFINITY = java.lang.Double.NEGATIVE_INFINITY; 43 public static final double NaN = java.lang.Double.NaN; 44 public static final double MAX_VALUE = java.lang.Double.MAX_VALUE; 45 public static final double MIN_VALUE = java.lang.Double.MIN_VALUE; 51 * <code>Double.longBitsToDouble(0x0010000000000000L)</code>. 67 * <code>Math.ilogb(Double.MAX_VALUE)</code>. 74 * <code>Math.ilogb(Double.MIN_NORMAL)</code>. 82 * <code>FpUtils.ilogb(Double.MIN_VALUE)</code>.
|
/openjdk7/jdk/src/share/classes/java/lang/ |
H A D | Double.java | 33 * The {@code Double} class wraps a value of the primitive type 35 * {@code Double} contains a single field whose type is 49 public final class Double extends Number implements Comparable<Double> { class in inherits:Number,Comparable 53 * {@code Double.longBitsToDouble(0x7ff0000000000000L)}. 60 * {@code Double.longBitsToDouble(0xfff0000000000000L)}. 67 * {@code Double.longBitsToDouble(0x7ff8000000000000L)}. 77 * {@code Double.longBitsToDouble(0x7fefffffffffffffL)}. 85 * equal to {@code Double.longBitsToDouble(0x0010000000000000L)}. 96 * {@code Double 580 public Double(double value) { method in class:Double 595 public Double(String s) throws NumberFormatException { method in class:Double [all...] |
/openjdk7/jdk/test/java/lang/Math/ |
H A D | AbsPositiveZero.java | 35 return Double.doubleToLongBits(d) == Double.doubleToLongBits(0.0d); 45 if (Math.abs(Double.POSITIVE_INFINITY) != Double.POSITIVE_INFINITY) { 48 if (Math.abs(Double.NEGATIVE_INFINITY) != Double.POSITIVE_INFINITY) { 51 double dnanval = Math.abs(Double.NaN);
|
H A D | Rint.java | 55 {Double.MIN_VALUE, 0.0}, 98 {Double.MAX_VALUE, Double.MAX_VALUE}, 99 {Double.POSITIVE_INFINITY, Double.POSITIVE_INFINITY}, 100 {Double.NaN, Double.NaN} 110 for(double d = Double.MIN_VALUE; 111 d < Double.POSITIVE_INFINITY; d *= 2) {
|