pub fn mshp(x: f32) -> f32