JDK-7092404 : Add Math.nextDown and Double.isFinite
  • Type: Bug
  • Component: core-libs
  • Sub-Component: java.lang
  • Affected Version: 8
  • Priority: P4
  • Status: Closed
  • Resolution: Fixed
  • OS: generic
  • CPU: generic
  • Submitted: 2011-09-19
  • Updated: 2017-05-16
  • Resolved: 2012-05-27
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 8
8 b08Fixed
Related Reports
Relates :  
Description
The JDK-internal utility class FpUtils includes methods for computing "nextDown," the floating-point next closes to zero and isFinite.  (The if-finite predicate is *not* !isInfinite because of NaNs.)

These methods are used by a number of classes in the JDK, either the sources or the tests, and should be promoted to java.lang.* proper.

Comments
PUBLIC COMMENTS See http://hg.openjdk.java.net/jdk8/tl/jdk/rev/6b6b6ee2afd9
22-09-2011

EVALUATION A fine idea.
19-09-2011