RFR: 8360559: Optimize Math.sinh for x86 64 bit platforms
Mohamed Issa
missa at openjdk.org
Thu Jul 17 18:51:47 UTC 2025
On Thu, 10 Jul 2025 21:23:50 GMT, Joe Darcy <darcy at 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
More information about the graal-dev
mailing list