## Wednesday, November 30, 2016

### C Math Nearest Integer Functions

Nearest Integer Functions:
arg - floating point value

 ceil double ceil( double arg ); ceilf(C99) float ceilf( float arg ); ceill(C99) long double ceill( long double arg ); floor double floor( double arg ); floorf(C99) float floorf( float arg ); floorl(C99) long double floorl( long double arg ); trunc(C99) double trunc( double arg ); truncf(C99) float truncf( float arg ); truncl(C99) long double truncl( long double arg ); round(C99) double round( double arg ); roundf(C99) float roundf( float arg ); roundl(C99) long double roundl( long double arg ); lround(C99) long lround( double arg ); lroundf(C99) long lroundf( float arg ); lroundl(C99) long lroundl( long double arg ); llround(C99) long long llround( double arg ); llroundf(C99) long long llroundf( float arg ); llroundl(C99) long long llroundl( long double arg ); nearbyint(C99) double nearbyint( double arg ); nearbyintf(C99) float nearbyintf( float arg ); nearbyintl(C99) long double nearbyintl( long double arg ); rint(C99) double rint( double arg ); rintf(C99) float rintf( float arg ); rintl(C99) long double rintl( long double arg ); lrint(C99) long lrint( double arg ); lrintf(C99) long lrintf( float arg ); lrintl(C99) long lrintl( long double arg ); llrint(C99) long long llrint( double arg ); llrintf(C99) long long llrintf( float arg ); llrintl(C99) long long llrintl( long double arg );

 math.h Trigonometric Functions Hyperbolic Functions Exponential and Logarithmic Functions Power and Absolute-value Functions Error and Gamma Functions Nearest Integer Functions Remainder Functions Manipulation Functions Maximum, Minimum, and Positive difference Functions Floating multiply-add Functions Classification macro Functions Comparison macro Functions

Related topics:
Library Functions in C   |   Standard Library in C   |   Header Files in C   |   Functions in C   |   Keywords in C   |   Data Types in C   |   Pointers in C

List of topics: C Programming