Re: RFR: JDK-8316708: Augment WorstCaseTests with more cases [v9]

2024-03-01 Thread Raffaello Giulietti
On Fri, 1 Mar 2024 18:01:11 GMT, Joe Darcy 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 >>

Re: RFR: JDK-8316708: Augment WorstCaseTests with more cases [v9]

2024-03-01 Thread Joe Darcy
> 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

Re: RFR: JDK-8316708: Augment WorstCaseTests with more cases [v8]

2024-03-01 Thread Raffaello Giulietti
On Wed, 28 Feb 2024 06:08:18 GMT, Joe Darcy 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 >>

Re: RFR: JDK-8316708: Augment WorstCaseTests with more cases [v8]

2024-03-01 Thread Raffaello Giulietti
On Wed, 28 Feb 2024 06:08:18 GMT, Joe Darcy 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 >>

Re: RFR: JDK-8316708: Augment WorstCaseTests with more cases [v8]

2024-02-28 Thread Joe Darcy
On Wed, 28 Feb 2024 06:08:18 GMT, Joe Darcy 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 >>

Re: RFR: JDK-8316708: Augment WorstCaseTests with more cases [v8]

2024-02-27 Thread Joe Darcy
> 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

Re: RFR: JDK-8316708: Augment WorstCaseTests with more cases [v7]

2024-02-27 Thread Joe Darcy
On Tue, 27 Feb 2024 11:20:11 GMT, Raffaello Giulietti wrote: > There are no libraries that have worse errors than OpenLibm, so I'm wondering > what these values are good for? When I was working on updating the worst-case tests for Math, I would check the input values in Math.foo() and StrictM

Re: RFR: JDK-8316708: Augment WorstCaseTests with more cases [v7]

2024-02-27 Thread Joe Darcy
On Tue, 27 Feb 2024 11:20:01 GMT, Raffaello Giulietti wrote: > I can't find this one on the paper. Good catch; must have been a cut and paste error on my part. - PR Review Comment: https://git.openjdk.org/jdk/pull/15879#discussion_r1504993038

Re: RFR: JDK-8316708: Augment WorstCaseTests with more cases [v7]

2024-02-27 Thread Raffaello Giulietti
On Tue, 27 Feb 2024 06:13:08 GMT, Joe Darcy 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 >>

Re: RFR: JDK-8316708: Augment WorstCaseTests with more cases [v7]

2024-02-26 Thread Joe Darcy
> 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

Re: RFR: JDK-8316708: Augment WorstCaseTests with more cases [v6]

2024-02-26 Thread Joe Darcy
> 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

Re: RFR: JDK-8316708: Augment WorstCaseTests with more cases [v5]

2024-02-26 Thread Joe Darcy
> 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

Re: RFR: JDK-8316708: Augment WorstCaseTests with more cases [v3]

2024-02-25 Thread Joe Darcy
On Mon, 26 Feb 2024 06:43:43 GMT, Joe Darcy wrote: > To improve the "fingerprinting" coverage of the StrictMath tests, I've added > test cases where the worst-case of a non-FDLIBM library is larger than the > FDLIBM worst-case. Assuming reasonable methodology of the paper, the output > of the

Re: RFR: JDK-8316708: Augment WorstCaseTests with more cases [v3]

2024-02-25 Thread Joe Darcy
On Sat, 24 Feb 2024 20:31:13 GMT, Joe Darcy 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 >>

Re: RFR: JDK-8316708: Augment WorstCaseTests with more cases [v4]

2024-02-25 Thread Joe Darcy
> 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

Re: RFR: JDK-8316708: Augment WorstCaseTests with more cases [v3]

2024-02-24 Thread Joe Darcy
On Fri, 23 Feb 2024 19:18:22 GMT, Joe Darcy wrote: > > Both `Math.cos` and `StrictMath.cos` produce the correctly rounded result > > here. I don't know why the paper says otherwise. Perhaps OpenLibm is not > > exactly fdlibm. > > I've looked a bit over the OpenLibm changelog. They've added a f

Re: RFR: JDK-8316708: Augment WorstCaseTests with more cases [v3]

2024-02-24 Thread Joe Darcy
> 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

Re: RFR: JDK-8316708: Augment WorstCaseTests with more cases [v2]

2024-02-23 Thread Joe Darcy
On Fri, 22 Sep 2023 15:33:11 GMT, Raffaello Giulietti wrote: >> Joe Darcy has updated the pull request with a new target base due to a merge >> or a rebase. The incremental webrev excludes the unrelated changes brought >> in by the merge/rebase. The pull request contains six additional commits

Re: RFR: JDK-8316708: Augment WorstCaseTests with more cases [v2]

2024-02-23 Thread Joe Darcy
On Fri, 22 Sep 2023 21:32:26 GMT, Joe Darcy wrote: > For FDLIBM tan, the stated error in the Math.tan spec is 1 ulp and the FDLIBM > sources say tan is "nearly rounded," which could reasonably be interpreted as > meaning within 1 ulp. However, the reported error by the paper is 1.02 ulps. > >

Re: RFR: JDK-8316708: Augment WorstCaseTests with more cases [v2]

2024-02-23 Thread Joe Darcy
> 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

Re: RFR: JDK-8316708: Augment WorstCaseTests with more cases

2024-02-23 Thread Joe Darcy
On Fri, 22 Sep 2023 05:36:02 GMT, Joe Darcy 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 > > det

Re: RFR: JDK-8316708: Augment WorstCaseTests with more cases

2024-02-23 Thread Joe Darcy
On Fri, 22 Sep 2023 15:48:26 GMT, Raffaello Giulietti wrote: > Both `Math.cos` and `StrictMath.cos` produce the correctly rounded result > here. I don't know why the paper says otherwise. Perhaps OpenLibm is not > exactly fdlibm. I've looked a bit over the OpenLibm changelog. They've added a

Re: RFR: JDK-8316708: Augment WorstCaseTests with more cases

2024-02-02 Thread Raffaello Giulietti
On Fri, 22 Sep 2023 05:36:02 GMT, Joe Darcy 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 > > det

Re: RFR: JDK-8316708: Augment WorstCaseTests with more cases

2023-12-07 Thread Joe Darcy
On Fri, 22 Sep 2023 05:36:02 GMT, Joe Darcy 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 > > det

Re: RFR: JDK-8316708: Augment WorstCaseTests with more cases

2023-10-20 Thread Joe Darcy
On Fri, 22 Sep 2023 05:36:02 GMT, Joe Darcy 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 > > det

Re: RFR: JDK-8316708: Augment WorstCaseTests with more cases

2023-10-16 Thread Joe Darcy
On Fri, 22 Sep 2023 15:27:51 GMT, Raffaello Giulietti 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/accu

Re: RFR: JDK-8316708: Augment WorstCaseTests with more cases

2023-10-16 Thread Raffaello Giulietti
On Fri, 22 Sep 2023 05:36:02 GMT, Joe Darcy 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 > > det

Re: RFR: JDK-8316708: Augment WorstCaseTests with more cases

2023-10-16 Thread Joe Darcy
On Fri, 22 Sep 2023 05:36:02 GMT, Joe Darcy 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 > > det

RFR: JDK-8316708: Augment WorstCaseTests with more cases

2023-10-16 Thread Joe Darcy
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 diffe

Re: RFR: JDK-8316708: Augment WorstCaseTests with more cases [v3]

2023-09-22 Thread Joe Darcy
On Fri, 22 Sep 2023 15:27:51 GMT, Raffaello Giulietti wrote: >> Joe Darcy has updated the pull request incrementally with one additional >> commit since the last revision: >> >> Fix typo found in code review. > > test/jdk/java/lang/Math/WorstCaseTests.java line 325: > >> 323: >> 324:

Re: RFR: JDK-8316708: Augment WorstCaseTests with more cases [v3]

2023-09-22 Thread Joe Darcy
> 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

Re: RFR: JDK-8316708: Augment WorstCaseTests with more cases [v2]

2023-09-22 Thread Joe Darcy
> 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

Re: RFR: JDK-8316708: Augment WorstCaseTests with more cases

2023-09-22 Thread Raffaello Giulietti
On Fri, 22 Sep 2023 05:36:02 GMT, Joe Darcy 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 > > det

Re: RFR: JDK-8316708: Augment WorstCaseTests with more cases

2023-09-22 Thread Raffaello Giulietti
On Fri, 22 Sep 2023 05:36:02 GMT, Joe Darcy 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 > > det

Re: RFR: JDK-8316708: Augment WorstCaseTests with more cases

2023-09-22 Thread Raffaello Giulietti
On Fri, 22 Sep 2023 05:36:02 GMT, Joe Darcy 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 > > det

RFR: JDK-8316708: Augment WorstCaseTests with more cases

2023-09-21 Thread Joe Darcy
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 diffe

Re: RFR: JDK-8316708: Augment WorstCaseTests with more cases

2023-09-21 Thread Joe Darcy
On Fri, 22 Sep 2023 05:36:02 GMT, Joe Darcy 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 > > det