On Thu, 21 Sep 2023 19:19:34 GMT, Joe Darcy <da...@openjdk.org> wrote:
> The Math.hypot method claims its error bound is one ulp. > > The paper > > "Accuracy of Mathematical Functions in Single, Double, Double > Extended, and Quadruple Precision" > Brian Gladman, Vincenzo Innocente and Paul Zimmermann > September 21, 2023 > https://members.loria.fr/PZimmermann/papers/accuracy.pdf > > lists a known worst-case error of 1.21 ulps for hypot for the "OpenLibm" math > library, which is a derivative of FDLIBM. > > The specification of Math.hypot should be updated to acknowledge the wider > error bound. I changed the allowable error bound to 1.5 ulps is give a bit of > cushion. Please also review the CSR https://bugs.openjdk.org/browse/JDK-8316690 ------------- PR Comment: https://git.openjdk.org/jdk/pull/15868#issuecomment-1730166009