pub fn gain1(v: f32) -> f32