Widen allowable error bound of Math.tan

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P4
    • 23
    • Affects Version/s: 23
    • Component/s: 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.

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

              Created:
              Updated:
              Resolved: