RFR: JDK-8295391: Add discussion of binary <-> decimal conversion issues [v2]

Joe Darcy darcy at openjdk.org
Wed Nov 8 18:45:00 UTC 2023


On Wed, 8 Nov 2023 17:54:50 GMT, Brian Burkhalter <bpb at openjdk.org> wrote:

>> Joe Darcy has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   Address issues found by reviewers.
>
> src/java.base/share/classes/java/lang/Double.java line 212:
> 
>> 210:  * fraction (0.33333....); but in base 3, 1/3 is exactly
>> 211:  * 0.1<sub>(3)</sub>, that is 1 × 3<sup>-1</sup>.
>> 212:  * Similarly, in base 10, 1/10 is exactly presentable as 0.1, but in
> 
> `re`presentable?

Fixed; thanks.

-------------

PR Review Comment: https://git.openjdk.org/jdk/pull/16566#discussion_r1387055226


More information about the core-libs-dev mailing list