Table of Contents
Previous Section Next Section

llrint

#include <math.h>long long int llrintf(float arg);long long int llrint(double arg);
long long int llrintl(long double arg);

llrint( ), llrintf( ), and llrintl( ) were added by C99.

The llrint( ) family of functions returns the value of arg rounded to the nearest long long integer.

Related functions are lrint( ) and rint( ).


Table of Contents
Previous Section Next Section