Details
-
Sub-task
-
Status: Open
-
Minor
-
Resolution: Unresolved
-
None
-
None
-
Medium
Description
Develop JMH benchmarks to compare:
- Simple Sum (simply add the input values)
- Kahan summation algorithm (https://en.wikipedia.org/wiki/Kahan_summation_algorithm)
- Two sum method (Neumaier sum) https://en.wikipedia.org/wiki/Kahan_summation_algorithm#Further_enhancements
- Higher-order extended precision floating-point sums
- The add() methods in `BigDecimal` class with various MathContext limits on the precision.