RFR: JDK-8316708: Augment WorstCaseTests with more cases

Joe Darcy darcy at openjdk.org
Mon Oct 16 16:17:42 UTC 2023


On Fri, 22 Sep 2023 05:36:02 GMT, Joe Darcy <darcy at openjdk.org> wrote:

> A new paper
> 
>  "Accuracy of Mathematical Functions in Single, Double, Double Extended, and Quadruple Precision"
> by Brian Gladman, Vincenzo Innocente and Paul Zimmermann
> https://members.loria.fr/PZimmermann/papers/accuracy.pdf
> 
> details the inputs with generate the worst-case observed errors in different math library implementations. The FDLIBM-related worst cases should be added to the test suite.

Since the error bars for sinh and cosh are larger, I didn't include those cases. FDLIBM pow has a bug where the actual error is outside of the spec'ed error bounds so that case is that included in this update.

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

PR Comment: https://git.openjdk.org/jdk/pull/15879#issuecomment-1730828467


More information about the core-libs-dev mailing list