Function expansion_sum

Source
pub fn expansion_sum(a: &[f64], b: &[f64]) -> Vec<f64>
Expand description

Sum of two expansions, exactly.

Merges the two component lists in magnitude order, then runs a single carry-propagating pass. Both inputs must be non-overlapping expansions in increasing magnitude order; the result is the same.