1.floor()
double floor ( double x );
float floor ( float x );
long double floor ( long double x );
2.ceil()
double ceil ( double x );
float ceil ( float x );
long double ceil ( long double x );
3.modf()
double modf ( double x, double * intpart );
long double modf ( long double x, long double * intpart );
float modf ( float x, float * intpart );
评论