pub fn clamp_float(a: f32, lower: f32, upper: f32) -> f32
@return a float clamped between a lower and upper bound.