pub fn beta(x: f32) -> f32