Converts two integer types, returning the min/max of the desired type if the given value is out of range for it.
See Implementation
Converts two integer types, returning the min/max of the desired type if the given value is out of range for it.