fn add_buckets(
h: &mut FloatHistogram,
other: &Vec<(i32, f64)>,
sign: f64,
c: Option<&mut FloatHistogram>,
other_c: Option<&Vec<(i32, f64)>>,
positive: bool,
) -> Result<()>Expand description
Go addBuckets and kahanAddBuckets: adds sign * other to one side of h, inserting the
buckets h lacks. Leading buckets of other inside the zero bucket are skipped.