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