Skip to main content

at_the_figures_of

Function at_the_figures_of 

Source
pub fn at_the_figures_of(x: f64, spread: f64) -> f64
Expand description

x rounded at the decimal place of spread’s third significant figure: a mean given no finer than the spread of the values it is taken over. A mean near zero is a small number, so three figures of its own would show a few of its values moved by a platform’s arithmetic; three of the spread are the digits every platform shares. With spread zero or not finite, x to three significant figures of its own; a zero is never −0.