8340983: Use index and definition tags in Object and Double

Reviewed-by: bpb, liach
This commit is contained in:
Joe Darcy 2024-09-26 16:04:45 +00:00
parent 8225a5f58a
commit bb040ef4cc
2 changed files with 4 additions and 4 deletions

View file

@ -148,7 +148,7 @@ import jdk.internal.vm.annotation.IntrinsicCandidate;
* relations that can be defined over floating-point values:
*
* <dl>
* <dt><a id=fpNumericalEq><i>numerical equality</i></a> ({@code ==}
* <dt><a id=fpNumericalEq></a><dfn>{@index "numerical equality"}</dfn> ({@code ==}
* operator): (<em>Not</em> an equivalence relation)</dt>
* <dd>Two floating-point values represent the same extended real
* number. The extended real numbers are the real numbers augmented
@ -158,7 +158,7 @@ import jdk.internal.vm.annotation.IntrinsicCandidate;
* number and is not equal to any value, including itself.
* </dd>
*
* <dt><i>bit-wise equivalence</i>:</dt>
* <dt><dfn>{@index "bit-wise equivalence"}</dfn>:</dt>
* <dd>The bits of the two floating-point values are the same. This
* equivalence relation for {@code double} values {@code a} and {@code
* b} is implemented by the expression
@ -168,7 +168,7 @@ import jdk.internal.vm.annotation.IntrinsicCandidate;
* is distinguished from every other bit pattern encoding a NaN.
* </dd>
*
* <dt><i><a id=repEquivalence>representation equivalence</a></i>:</dt>
* <dt><dfn><a id=repEquivalence></a>{@index "representation equivalence"}</dfn>:</dt>
* <dd>The two floating-point values represent the same IEEE 754
* <i>datum</i>. In particular, for {@linkplain #isFinite(double)
* finite} values, the sign, {@linkplain Math#getExponent(double)

View file

@ -109,7 +109,7 @@ public class Object {
/**
* Indicates whether some other object is "equal to" this one.
* <p>
* The {@code equals} method implements an equivalence relation
* The {@code equals} method implements an <dfn>{@index "equivalence relation"}</dfn>
* on non-null object references:
* <ul>
* <li>It is <i>reflexive</i>: for any non-null reference value