pub fn peak(v: f32) -> f32