pub fn gamma(x: f32, coarse: bool) -> f32