RFR: 8214761: Bug in parallel Kahan summation implementation

stefan-zobel github.com+18482851+stefan-zobel at openjdk.java.net
Fri Jul 2 22:23:50 UTC 2021


On Fri, 2 Jul 2021 20:12:39 GMT, Ian Graves <igraves at openjdk.org> wrote:

> 8214761: Bug in parallel Kahan summation implementation

What about `Collectors.computeFinalSum()` - should this be `double tmp = summands[0] + summands[1];` or `double tmp = summands[0] - summands[1];` ?

-------------

PR: https://git.openjdk.java.net/jdk/pull/4674


More information about the core-libs-dev mailing list