pub fn vs(x: f32, coarse: bool) -> f32