RFR: 8310843: Reimplement ByteArray and ByteArrayLittleEndian with Unsafe [v6]
Alan Bateman
alanb at openjdk.org
Thu Jun 29 07:44:56 UTC 2023
On Mon, 26 Jun 2023 07:09:11 GMT, Glavo <duke at openjdk.org> wrote:
> I deleted some incorrect comments.
>
> The original author of these two classes misunderstood the behavior of `intBitsToFloat` and `longBitsToDouble`. These two methods never collapse NaN values to a "canonical" NaN value, so the comments is incorrect.
You'll need to go back through the discussion in the original PRs (there was more than one) as there was lengthy discussion this already.
-------------
PR Comment: https://git.openjdk.org/jdk/pull/14636#issuecomment-1612568000
More information about the core-libs-dev
mailing list