Normalizes the specified value and clamps it in the range of a signed 32bit integer.
Visual explanation: