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

Raffaello Giulietti rgiulietti at openjdk.org
Thu Feb 19 14:12:30 UTC 2026


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

>> src/java.base/share/classes/java/lang/FdLibm.java line 3623:
>> 
>>> 3621:      *                   := 0.5 * log1p(2x + 2x * x/(1 - x)), if |x| < 0.5.
>>> 3622:      *
>>> 3623:      *
>> 
>> Not sure how useful this is in the context here.
>
> Are you concerned about wasted space or anything else?

I had the impression that the comment was unrelated to the code, but on closer look I see it is relevant.
Never mind.

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

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


More information about the core-libs-dev mailing list