RFR: 8377223: Port fdlibm atanh to Java

ExE Boss duke at openjdk.org
Wed Feb 18 12:01:30 UTC 2026


On Wed, 18 Feb 2026 10:10:31 GMT, Anton Artemov <aartemov at openjdk.org> wrote:

> Hi, please consider the following changes:
> 
> This is a port of FDLIBM atanh method.

test/jdk/java/lang/StrictMath/ExhaustingTests.java line 97:

> 95:             new UnaryTestCase("asinh", FdlibmTranslit::asinh, StrictMath::asinh, DEFAULT_SHIFT),
> 96:             new UnaryTestCase("acosh", FdlibmTranslit::acosh, StrictMath::acosh, DEFAULT_SHIFT),
> 97:             new UnaryTestCase("atanh",  FdlibmTranslit::atanh,  StrictMath::atanh,  DEFAULT_SHIFT),

Doubled spaces:
Suggestion:

            new UnaryTestCase("atanh", FdlibmTranslit::atanh, StrictMath::atanh, DEFAULT_SHIFT),

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

PR Review Comment: https://git.openjdk.org/jdk/pull/29782#discussion_r2821943706


More information about the core-libs-dev mailing list