Provided by: manpages-es_1.55-10_all bug

NOMBRE

       trunc, truncf, truncl - redondeo a entero, hacia cero

SINOPSIS

       #include <math.h>

       double trunc(double x);
       float truncf(float x);
       long double truncl(long double x);

DESCRIPCIÓN

       Estas funciones redondean x al entero más cercano que no sea mayor en valor absoluto.

VALOR DEVUELTO

       El valor entero redondeado.  Si x es entero, infinito o NaN, se devuelve x tal cual.

ERRORES

       Ninguno.

CONFORME A

       C99.

VÉASE TAMBIÉN

       ceil(3), floor(3), lrint(3), nearbyint(3), rint(3), round(3)

                                           31 mayo 2001                                  TRUNC(3)