pub fn rhpf(x: f32) -> f32