Provided by: manpages-es-dev_4.13-4_all bug

NOMBRE

       modf, modff, modfl - extrae las partes entera y fraccional con signo de un número en coma flotante

SINOPSIS

       #include <math.h>

       double modf(double x, double *iptr);
       float modff(float x, float *iptr);
       long double modfl(long double x, long double *iptr);

       Enlazar con -lm.

   Requisitos de Macros de Prueba de Características para glibc (véase feature_test_macros(7)):

       modff(), modfl():
           _ISOC99_SOURCE || _POSIX_C_SOURCE >= 200112L
               || /* Since glibc 2.19: */ _DEFAULT_SOURCE
               || /* Glibc versions <= 2.19: */ _BSD_SOURCE || _SVID_SOURCE

DESCRIPCIÓN

       These  functions  break the argument x into an integral part and a fractional part, each of which has the
       same sign as x.  The integral part is stored in the location pointed to by iptr.

VALOR DEVUELTO

       These functions return the fractional part of x.

       If x is a NaN, a NaN is returned, and *iptr is set to a NaN.

       If x is positive infinity (negative infinity), +0 (-0) is returned, and *iptr is set to positive infinity
       (negative infinity).

ERRORES

       No errors occur.

ATRIBUTOS

       Para obtener una explicación de los términos usados en esta sección, véase attributes(7).
       ┌──────────────────────────┬────────────────────┬───────────────────┐
       │ InterfazAtributoValor             │
       ├──────────────────────────┼────────────────────┼───────────────────┤
       │ modf(), modff(), modfl() │ Seguridad del hilo │ Multi-hilo seguro │
       └──────────────────────────┴────────────────────┴───────────────────┘

CONFORME A

       C99, POSIX.1-2001, POSIX.1-2008.

       The variant returning double also conforms to SVr4, 4.3BSD, C89.

VÉASE TAMBIÉN

       frexp(3), ldexp(3)

COLOFÓN

       Esta página es parte de la versión 5.10 del proyecto Linux man-pages. Puede encontrar una descripción del
       proyecto,  información  sobre  cómo  informar  errores  y  la  última   versión   de   esta   página   en
       https://www.kernel.org/doc/man-pages/.

TRADUCCIÓN

       La  traducción  al  español  de  esta  página  del  manual  fue  creada  por  Gerardo  Aburruzaga  García
       <gerardo.aburruzaga@uca.es>

       Esta traducción es documentación libre;  lea  la  GNU General Public License Version 3  o  posterior  con
       respecto a las condiciones de copyright.  No existe NINGUNA RESPONSABILIDAD.

       Si  encuentra  algún  error  en  la  traducción  de esta página del manual, envíe un correo electrónico a
       debian-l10n-spanish@lists.debian.org.

                                               15 Septiembre 2017                                        MODF(3)