--- old/src/java.base/share/classes/java/lang/Double.java 2017-05-03 14:00:26.012514053 -0700 +++ new/src/java.base/share/classes/java/lang/Double.java 2017-05-03 14:00:25.888508690 -0700 @@ -255,9 +255,12 @@ * * * - * + *
* + * * + * + * * * * @@ -272,6 +275,7 @@ * * * + * *
Examples
Floating-point ValueHexadecimal String
{@code 1.0} {@code 0x1.0p0}
{@code -1.0} {@code -0x1.0p0}
{@code 2.0} {@code 0x1.0p1}{@code 0x0.fffffffffffffp-1022}
{@code Double.MIN_VALUE}{@code 0x0.0000000000001p-1022}
* @param d the {@code double} to be converted. * @return a hex string representation of the argument.