RFR 8005311: Add Scalable Updatable Variables, DoubleAccumulator, DoubleAdder, LongAccumulator, LongAdder (original) (raw)

Chris Hegarty chris.hegarty at oracle.com
Fri Jan 11 17🔞27 UTC 2013


On 11/01/2013 16:57, Doug Lea wrote:

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":

Thanks Doug, done.

-Chris.

"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