< prev index next >
src/java.base/share/classes/java/lang/Double.java
Print this page
@@ -253,13 +253,16 @@
*
* </ul>
*
* </ul>
*
- * <table border>
+ * <table class="plain">
* <caption>Examples</caption>
+ * <thead>
* <tr><th>Floating-point Value</th><th>Hexadecimal String</th>
+ * </thead>
+ * <tbody>
* <tr><td>{@code 1.0}</td> <td>{@code 0x1.0p0}</td>
* <tr><td>{@code -1.0}</td> <td>{@code -0x1.0p0}</td>
* <tr><td>{@code 2.0}</td> <td>{@code 0x1.0p1}</td>
* <tr><td>{@code 3.0}</td> <td>{@code 0x1.8p1}</td>
* <tr><td>{@code 0.5}</td> <td>{@code 0x1.0p-1}</td>
@@ -270,10 +273,11 @@
* <td>{@code 0x1.0p-1022}</td>
* <tr><td>{@code Maximum Subnormal Value}</td>
* <td>{@code 0x0.fffffffffffffp-1022}</td>
* <tr><td>{@code Double.MIN_VALUE}</td>
* <td>{@code 0x0.0000000000001p-1022}</td>
+ * </tbody>
* </table>
* @param d the {@code double} to be converted.
* @return a hex string representation of the argument.
* @since 1.5
* @author Joseph D. Darcy
< prev index next >