Round x
to the nearest integer value, with halfway cases rounded away from zero. If the result is outside the range of the return type, the result is undefined.
- Returns:
- Returns rounded integer value.
- Note:
- This function may be slower than alternate rounding methods. See lrint().