2.1.37 double truncdouble trunc(double __x) The trunc() function rounds __x to the nearest integer not larger in absolute value.