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

Improve computeNextExponential tail performance and accuracy

    XMLWordPrintable

Details

    • Enhancement
    • Resolution: Fixed
    • P4
    • 22
    • None
    • core-libs
    • b07
    • generic
    • generic

    Description

      Repeatedly adding DoubleZigguratTables.exponentialX0 to extra causes a rounding error to accumulate at the tail of the distribution;

      we can fixe that by tracking the multiple of exponentialX0 as a long. It also optimizes a few expressions using Math::fma.

      Submit on behalf of Chris Hennick (hennickc@amazon.com)

      Attachments

        Issue Links

          Activity

            People

              xliu Xin Liu
              xliu Xin Liu
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: