Loading...
Select Version
&pagelevel(4)&pagelevel
Syntax | #include <math.h> long int lround (double x); long int lroundf (float x); long int lroundl (long double x); | |
Description | The functions return the integer value (displayed as a number of type The returned value does not depend on the rounding mode currently set. If the difference between x and the rounded result is exactly 0.5, the next highest integer is returned. | |
Return val. | Integer value (type | |
if successful. | ||
| Undefined | for overflow or underflow. |
See also |
|