RFR 8005311: Add Scalable Updatable Variables, DoubleAccumulator, DoubleAdder, LongAccumulator, LongAdder
Doug Lea
dl at cs.oswego.edu
Fri Jan 11 16:57:50 UTC 2013
On 01/11/13 11:35, Peter Levart wrote:
> On 01/11/2013 05:18 PM, Chris Hegarty wrote:
>> Now with explicit disclaimer on DoubleA*
>>
>> "The order of accumulation within or across threads is not guaranteed. Thus,
>> this class may not be applicable if numerical stability is required when
>> combining values of substantially different orders of magnitude."
>
> It doesn't have to be substantially different order of magnitude.
>
Thanks. Chris, please add "especially":
"The order of accumulation within or across threads is not guaranteed. Thus,
this class may not be applicable if numerical stability is required, especially
when combining values of substantially different orders of magnitude."
-Doug
More information about the core-libs-dev
mailing list