increments the kahan sum by adding two sums , and updating the correction term for reducing numeric errors concode_field_sep CompensatedSum ZERO concode_elem_sep double NO_CORRECTION concode_elem_sep double delta concode_elem_sep long serialVersionUID concode_elem_sep double value concode_field_sep double delta concode_elem_sep double value
CompensatedSum function ( CompensatedSum arg0 ) { double loc0 = arg0 . value ( ) + ( delta + arg0 . delta ( ) ) ; double loc1 = value + loc0 ; double loc2 = loc0 - ( loc1 - value ) ; return new CompensatedSum ( loc1 , loc2 ) ; }