File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed
src/java.base/share/classes/java/lang Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -375,9 +375,9 @@ public final class Double extends Number
375375 public static final double NEGATIVE_INFINITY = -1.0 / 0.0 ;
376376
377377 /**
378- * A constant holding a Not-a-Number (NaN) value of type
379- * {@code double}. It is equivalent to the value returned by
380- * {@code Double.longBitsToDouble(0x7ff8000000000000L)}.
378+ * A constant holding a Not-a-Number (NaN) value of type {@code double}.
379+ * It is {@linkplain Double##equivalenceRelation equivalent} to the
380+ * value returned by {@code Double.longBitsToDouble(0x7ff8000000000000L)}.
381381 */
382382 public static final double NaN = 0.0d / 0.0 ;
383383
Original file line number Diff line number Diff line change @@ -93,9 +93,9 @@ public final class Float extends Number
9393 public static final float NEGATIVE_INFINITY = -1.0f / 0.0f ;
9494
9595 /**
96- * A constant holding a Not-a-Number (NaN) value of type
97- * {@code float}. It is equivalent to the value returned by
98- * {@code Float.intBitsToFloat(0x7fc00000)}.
96+ * A constant holding a Not-a-Number (NaN) value of type {@code float}.
97+ * It is {@linkplain Double##equivalenceRelation equivalent}
98+ * to the value returned by {@code Float.intBitsToFloat(0x7fc00000)}.
9999 */
100100 public static final float NaN = 0.0f / 0.0f ;
101101
You can’t perform that action at this time.
0 commit comments