Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8326530

Widen allowable error bound of Math.tan

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 23
    • 23
    • core-libs
    • b12

      The method Math.tan has a 1 ulp error bound.

      Recent work (https://members.loria.fr/PZimmermann/papers/accuracy.pdf) has found a case where the reference implementation of Math.tan has a 1.02 ulp error, which is (slightly) larger than the stated bound. The problematic input is 0x1.3f9605aaeb51bp+21.

      The specification should be amended to accommodate the larger observed error bound.

            darcy Joe Darcy
            darcy Joe Darcy
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: