RFR: JDK-8302800: Augment NaN handling tests of FDLIBM methods

Raffaello Giulietti rgiulietti at openjdk.org
Mon Feb 20 10:25:29 UTC 2023


On Sun, 19 Feb 2023 21:30:19 GMT, Joe Darcy <darcy at openjdk.org> wrote:

> Augment NaN-handling tests to include exotic NaN bit patterns. Assuming this changeset goes back first, I'll update https://github.com/openjdk/jdk/pull/12608 to follow the same convention afterward.

Otherwise LGTM

test/jdk/java/lang/Math/Tests.java line 41:

> 39:     private Tests(){}; // do not instantiate
> 40: 
> 41:     static volatile double zero = 0.0;

Not directly related to this PR and just out of curiosity: is there a reason for this to be `volatile` and non-`final`?

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

PR: https://git.openjdk.org/jdk/pull/12644


More information about the core-libs-dev mailing list