Skip to main content

kahan_inc

Function kahan_inc 

Source
pub(crate) fn kahan_inc(inc: f64, sum: f64, c: f64) -> (f64, f64)
Expand description

Prometheus kahansum.Inc: compensated_sum_inc that also drops the compensation once the sum is infinite.