pub fn bstep(x: f32) -> f32
calculate the binary step to the given f32 number
binary step
let x:f32 = 0.5; let answer:f32 = bstep(x); println!("bstep({}) => {}",x,answer);