JDK 8 code review request forJDK-8024354: Explicitly permit DoubleStream.sum()/average() implementations to use higher precision summation

Joe Darcy joe.darcy at oracle.com
Wed Oct 9 20:47:28 UTC 2013


On 10/09/2013 11:36 AM, Paul Sandoz wrote:
> On Oct 9, 2013, at 3:56 AM, Joe Darcy <joe.darcy at oracle.com> wrote:
>
>> Hello,
>>
>> Please review the patch below which addresses
>>
>>         JDK-8024354 Explicitly permit DoubleStream.sum()/average() implementations to use higher precision summation
>>
>> Thanks,
>>
> The note feels more like an api note since it leaves me wondering what does the current implementation does. Presumably we should mention that current impl does do not do anything special?
>

The goal here is to explicitly allow (but not require) 
better-than-straightforard summation algorithms to be used.

Time permitting, I'd prefer to get a better implementation pushed before 
JDK 8 GA and, failing that, in an 8 update before JDK 9.

-Joe



More information about the core-libs-dev mailing list