pub fn clamp_i16(val: i32) -> i16
Expand description

Clamps the given value to the [-32_767, 32_768] range.