Details

    • Type: Sub-task
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 3.0
    • Fix Version/s: 4.X
    • Labels:
      None
    • Environment:

      Mac OS 10.8.2, Java 7

      Description

      The FastMath.sin (maybe other functions too) are not nearly as fast as some other libraries that can be found on the internet.

      The much faster code can be found here http://www.oliford.co.uk/phys/code/AlgorithmRepository/src/jafama/.

      Max Absolute Error Apache vs JDK: 1.1102230246251565E-16
      Max Absolute Error Alternative vs JDK: 5.551115123125783E-16
      JDK Time: 0.698
      Apache Time: 0.491
      Alternative Time: 0.18

      I will add my test code as soon as I figure out how.

        Attachments

        1. SineTest.java
          2 kB
          Konstantin Berlin

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              kberlin Konstantin Berlin
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated: