pub fn clamp_int(a: i32, lower: i32, upper: i32) -> i32
@return an integer clamped between a lower and upper bound