RFR: 8377223: Port fdlibm atanh to Java

Anton Artemov aartemov at openjdk.org
Thu Feb 19 10:13:07 UTC 2026


On Wed, 18 Feb 2026 11:58:22 GMT, ExE Boss <duke 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),

Addressed.

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

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


More information about the core-libs-dev mailing list