File tree 2 files changed +6
-6
lines changed
src/java.base/share/classes/java/lang
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
375
375
public static final double NEGATIVE_INFINITY = -1.0 / 0.0 ;
376
376
377
377
/**
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)}.
381
381
*/
382
382
public static final double NaN = 0.0d / 0.0 ;
383
383
Original file line number Diff line number Diff line change @@ -93,9 +93,9 @@ public final class Float extends Number
93
93
public static final float NEGATIVE_INFINITY = -1.0f / 0.0f ;
94
94
95
95
/**
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)}.
99
99
*/
100
100
public static final float NaN = 0.0f / 0.0f ;
101
101
You can’t perform that action at this time.
0 commit comments