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