Skip to main content

write_exp

Function write_exp 

Source
fn write_exp(f: &mut Formatter<'_>, x: f64, p: usize, dir: Dir) -> Result
Expand description

Steps D2 and D3 for {:.pe}: x with 1 + p significant digits, rounded in the direction dir.