pub fn rev(x: f32) -> f32