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

Brian Burkhalter bpb at openjdk.org
Wed Nov 8 19:42:58 UTC 2023


On Wed, 8 Nov 2023 19:24:24 GMT, Joe Darcy <darcy at openjdk.org> wrote:

>> Add discussion of some of the common pitfalls related to decimal <-> binary conversion.
>
> Joe Darcy has updated the pull request incrementally with one additional commit since the last revision:
> 
>   Switch to parseFloat from valueOf, add links.

src/java.base/share/classes/java/lang/Double.java line 752:

> 750:      *             represented by the {@code String} argument.
> 751:      * @throws     NumberFormatException  if the string does not contain a
> 752:      *             parsable number.

Was `parsable number` supposed to be deleted?

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

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


More information about the core-libs-dev mailing list