To allow for more accurate algorithms, the specification of DoubleStream.sum()/average() should explicitly allow higher precision summation to be used in the implementation.
- relates to
-
JDK-8073940 IntStream/LongStream/DoubleStream: sum() specifications must be expanded
- Open
-
JDK-8030942 Explicitly state floating-point summation requirements on non-finite inputs
- Resolved
-
JDK-8006572 DoubleStream.sum() & DoubleSummaryStats implementations that reduce numerical errors
- Closed
-
JDK-8317850 Consider add a fsum method to accurately sum a double stream (similar to python)
- New