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

NOMBRE

       lround,  lroundf,  lroundl, llround, llroundf, llroundl - redondean al entero más cercano,
       en dirección opuesta al cero

SINOPSIS

       #include <math.h>

       long int lround(double x);
       long int lroundf(float x);
       long int lroundl(long double x);

       long long int llround(double x);
       long long int llroundf(float x);
       long long int llroundl(long double x);

DESCRIPCIÓN

       Estas funciones redondean su argumento al valor entero más cercano, en  dirección  opuesta
       al  cero, sin tener en cuenta la dirección actual del redondeo.  Si x es infinito o NaN, o
       si el valor redondeado se encuentra fuera del rango del tipo devuelvo, el resultado  queda
       indeterminado.   Se  puede  producir  un error de dominio si la magnitud de x es demasiado
       grande.

VALOR DEVUELTO

       El entero al que se redondea.

ERRORES

       EDOM   El tamaño de x es demasiado grande y (math_errhandling & MATH_ERRNO) es distinto de
              cero.

CONFORME A

       C99.

VÉASE TAMBIÉN

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

                                           31 mayo 2001                                 LROUND(3)