pub fn thrsh(v: f32) -> f32