On Mon, 6 Feb 2023 01:50:55 GMT, Joe Darcy <da...@openjdk.org> wrote:
> To help add assurances that the main-line port of FDLIBM to Java is working > correctly, added some long-running manual tests to probe that the > transliteration port and the corresponding StrictMath method are in agreement > on a large number of argument, say, all float values. > > To test the transliteration port, this test can be run against a build where > the JDK has *not* had the FDLIBM code used for StrictMath ported to Java. test/jdk/java/lang/StrictMath/ExhaustingTests.java line 37: > 35: import java.util.function.DoubleUnaryOperator; > 36: > 37: public class ExhaustingTests { Great name! test/jdk/java/lang/StrictMath/ExhaustingTests.java line 57: > 55: long failures = 0; > 56: UnaryTestCase[] testCases = { > 57: // new UnaryTestCase("sqrt", FdlibmTranslit::sqrt, > StrictMath::sqrt), Maybe not include the TBD cases as part of this initial PR? ------------- PR: https://git.openjdk.org/jdk/pull/12430