On Mon, 12 Jul 2021 19:39:13 GMT, Brian Burkhalter <b...@openjdk.org> wrote:

> Please consider this proposal to add some test coverage comparing `Math` and 
> `StrictMath` results of `pow()`.

test/jdk/java/lang/Math/PowTests.java line 65:

> 63:         int failures = 0;
> 64:         if (Double.isNaN(smResult)) {
> 65:             if (!Double.isNaN(mResult)) failures = 1;

Pretty sure the Tests.testUlpDiff call will handle two NaNs as well as 
NaN/non-NaN argument.

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

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

Reply via email to