Details
Description
To allow for more accurate algorithms, the specification of DoubleStream.sum()/average() should explicitly allow higher precision summation to be used in the implementation.
Attachments
Issue Links
- 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
-