RFR: 8377223: Port fdlibm atanh to Java [v3]

Raffaello Giulietti rgiulietti at openjdk.org
Thu Feb 19 14:34:03 UTC 2026


On Thu, 19 Feb 2026 13:58:22 GMT, Anton Artemov <aartemov at openjdk.org> wrote:

>> Hi, please consider the following changes:
>> 
>> This is a port of FDLIBM atanh method.
>
> Anton Artemov has updated the pull request incrementally with one additional commit since the last revision:
> 
>   8377223: Addressed reviewer's comments.

test/jdk/java/lang/Math/HyperbolicTests.java line 2193:

> 2191:         };
> 2192: 
> 2193:         for(int i = 0; i < testCases.length; i++) {

Please make use of "enhanced for loops" whenever possible.

test/jdk/java/lang/Math/HyperbolicTests.java line 2213:

> 2211:         };
> 2212: 
> 2213:         for(int i = 0; i < specialTestCases.length; i++) {

Same here.

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

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


More information about the core-libs-dev mailing list