Skip to main content

step

Function step 

Source
fn step(v: f64, sigma: f64, dir: Dir) -> f64
Expand description

Step N5: v moved one step in the direction dir when the exact value lies strictly on that side (sigma has the sign of exact − v).