pub fn in_r(x: f32) -> f32