pub fn ch2(x: f32) -> f32