RFR: 8261862: Expand discussion of rationale for BigDecimal equals/compareTo semantics [v2]
Joe Darcy
darcy at openjdk.java.net
Wed Mar 3 19:33:18 UTC 2021
On Wed, 3 Mar 2021 17:49:26 GMT, Brian Burkhalter <bpb at openjdk.org> wrote:
>> Joe Darcy has updated the pull request with a new target base due to a merge or a rebase. The incremental webrev excludes the unrelated changes brought in by the merge/rebase. The pull request contains three additional commits since the last revision:
>>
>> - Respond to review feedback and reflow paragraphs.
>> - Merge branch 'master' into 8261862
>> - 8261862: Expand discussion of rationale for BigDecimal equals/compareTo semantics
>
> src/java.base/share/classes/java/math/BigDecimal.java line 3146:
>
>> 3144: * method since the former has [{@code BigInteger},
>> 3145: * {@code scale}] components equal to [20, 1] while the latter has
>> 3146: * components equals to [200, 2].
>
> s/equals/equal/
Fixed.
-------------
PR: https://git.openjdk.java.net/jdk/pull/2804
More information about the core-libs-dev
mailing list