|
|
#include <math.h>long int lrintf(float arg);long int lrint(double arg); long int lrintl(long double arg);
lrint( ), lrintf( ), and lrintl( ) were added by C99.
The lrint( ) family of functions returns the value of arg rounded to the nearest long integer.
Related functions are llrint( ) and rint( ).
|
|