JDK-8304423 : Refactor FdLibm.java
  • Type: Sub-task
  • Component: core-libs
  • Sub-Component: java.lang
  • Affected Version: 21
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2023-03-17
  • Updated: 2023-05-14
  • Resolved: 2023-04-25
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 21
21 b20Fixed
Related Reports
Relates :  
Description
The Java version of Fdlibm would benefit from various refactorings including:

* Get rid of the rest of "one", "zero" fields

* Defining commonly used masks for SIGN_BIT, SIGN_EXP, HIGH_SIGNIF masks based on DoubleConst values.

Explore if added "unsignedLessThan" and "unsignedLessThanEQ" methods would be worthwhile rather than Integer.compareUnsigned.
Comments
Changeset: d819deba Author: Joe Darcy <darcy@openjdk.org> Date: 2023-04-25 19:33:22 +0000 URL: https://git.openjdk.org/jdk/commit/d819debaa5f0155e5e3990fa4f919ab420610c97
25-04-2023

A pull request was submitted for review. URL: https://git.openjdk.org/jdk/pull/13604 Date: 2023-04-23 22:34:43 +0000
23-04-2023