On Thu, 10 Jul 2025 21:23:50 GMT, Joe Darcy <da...@openjdk.org> wrote:

> > > What is the accuracy of the algorithm in ulps (units the last place)?
> > > The java.lang.Math specification has max error and various other accuracy 
> > > requirements any implementation must meet.
> > 
> > 
> > 0.51 ulps
> 
> Please add that as a comment to the changeset.
> 
> Also, if the worst-case inputs for this algorithm are known, they should the 
> added as part of the core libraries regression tests for the math library.

I included the error bound as a separate section of the comment header in the 
stub generator source file. Also, the input ranges are covered in 
`jtreg:test/jdk/java/lang/Math/HyperbolicTests.java`.

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

PR Comment: https://git.openjdk.org/jdk/pull/26152#issuecomment-3085084538

Reply via email to