Provided by: manpages-es-dev_4.27.0-1_all bug

NOMBRE

       fabs, fabsf, fabsl - valor absoluto de un número en coma flotante

BIBLIOTECA

       Biblioteca Matemática (libm, -lm)

SINOPSIS

       #include <math.h>

       double fabs(double x);
       float fabsf(float x);
       long double fabsl(long double x);

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

       fabsf(), fabsl():
           _ISOC99_SOURCE || _POSIX_C_SOURCE >= 200112L
               || /* Desde glibc 2.19: */ _DEFAULT_SOURCE
               || /* glibc <= 2.19: */ _BSD_SOURCE || _SVID_SOURCE

DESCRIPCIÓN

       These functions return the absolute value of the floating-point number x.

VALOR DEVUELTO

       These functions return the absolute value of x.

       Si x es un NaN, NaN es devuelto.

       Si x es un -0, +0 es devuelto.

       If x is negative infinity or positive infinity, positive infinity is returned.

ERRORES

       No suceden errores.

ATRIBUTOS

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

ESTÁNDARES

       C11, POSIX.1-2008.

HISTORIAL

       C99, POSIX.1-2001.

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

VÉASE TAMBIÉN

       abs(3), cabs(3), ceil(3), floor(3), labs(3), rint(3)

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> y Miguel Pérez Ibars <mpi79470@alu.um.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.

Páginas de Manual de Linux 6.9.1                   2 Mayo 2024                                           fabs(3)