pub fn clamp1_bipolar<T>(x: T) -> T where
    T: LimitRange + From<f32>,