Function nandropping_add

Source
pub fn nandropping_add(a: f64, b: f64) -> f64
Expand description

An addition that ignores NaN numbers if possible (the result should only be NaN if both arguments are NaN). In other words, NaN is treated the same as 0, as long as at least one argument isn’t NaN. (Warning: this might not be what you want.)