pub fn res(v: f32) -> f32