lround

Like round(), but rounds to the nearest "long" value. Returns the minimum/maximum possible integer if the value is out of range.

nothrow
long
lround

Meta