public static final class Chain.AccurateSum
extends java.lang.Object
Constructor and Description |
---|
AccurateSum() |
Modifier and Type | Method and Description |
---|---|
void |
add(double v)
Add to the running sum
|
double |
get()
Return the accumulated sum
|
void |
reset()
Reset the sum to zero
|