On Wed, 26 Jan 2022 02:12:11 GMT, Joe Darcy <da...@openjdk.org> wrote:

> Use floating-point library methods to nudge down the result if needed. The 
> nextAfter(r, origin) call return the next value in the direction of origin, 
> handling cases for negative values, etc.
> 
> Changing to call nextDown for the origin is bounded at zero is just a 
> refactoring that is clearer to read IMO.
> 
> The regression test fails on an unpatched JDK.

LGTM

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

Marked as reviewed by jlaskey (Reviewer).

PR: https://git.openjdk.java.net/jdk/pull/7221

Reply via email to