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