[lworld] RFR: 8298659: [lworld] ValueObject isSubstutitable comparison of float/double should use raw bits [v2]
Roger Riggs
rriggs at openjdk.org
Wed Mar 6 18:40:57 UTC 2024
On Fri, 9 Feb 2024 16:48:35 GMT, Roger Riggs <rriggs at openjdk.org> wrote:
>> Update the substitutability implementation to match the new JLS for JEP 401.
>> Float and double values should be compared for equality using the raw bits.
>
> Roger Riggs has updated the pull request incrementally with one additional commit since the last revision:
>
> Revert change to ObjectMethods to avoid changing behavior of equals for floats in records.
> Create a separate cache of method pointers for substitutablity test for primitives in ValueObjectMethods.
Start fresh after rebase.
-------------
PR Comment: https://git.openjdk.org/valhalla/pull/998#issuecomment-1981545649
More information about the valhalla-dev
mailing list