|
|
#include <math.h>float truncf(float arg);double trunc(double arg); long double truncl(long double arg);
trunc( ), truncf( ), and truncl( ) were added by C99.
The trunc( ) family of functions returns the truncated value of arg.
A related function is nearbyint( ).
|
|