pub fn g(x: f32) -> f32