pub fn mix(x: f32) -> f32