Uploaded image for project: 'Commons Statistics'
  1. Commons Statistics
  2. STATISTICS-71 Implementation of Univariate Statistics
  3. STATISTICS-78

Create JMH benchmarks for alternative summation algorithms

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • None
    • None
    • descriptive
    • Medium

    Description

      Develop JMH benchmarks to compare:

      1. Simple Sum (simply add the input values)
      2. Kahan summation algorithm (https://en.wikipedia.org/wiki/Kahan_summation_algorithm)
      3. Two sum method (Neumaier sum) https://en.wikipedia.org/wiki/Kahan_summation_algorithm#Further_enhancements
      4. Higher-order extended precision floating-point sums
      5. The add() methods in `BigDecimal` class with various MathContext limits on the precision.

      Attachments

        Activity

          People

            Unassigned Unassigned
            ani5rudh Anirudh Joshi
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: