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

NOMBRE

       signbit - comprueba el signo de un número real en coma flotante

BIBLIOTECA

       Biblioteca Matemática (libm, -lm)

SINOPSIS

       #include <math.h>

       int signbit(x);

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

       signbit():
           _ISOC99_SOURCE || _POSIX_C_SOURCE >= 200112L

DESCRIPCIÓN

       signbit()  es  una  macro genérica que acepta todos los tipos reales en coma flotante.  Devuelve un valor
       distinto de cero si el valor de x tiene activo el bit de signo.

       This is not the same as x < 0.0, because  IEEE  754  floating  point  allows  zero  to  be  signed.   The
       comparison -0.0 < 0.0 is false, but signbit(-0.0) will return a nonzero value.

       NaNs and infinities have a sign bit.

VALOR DEVUELTO

       The signbit()  macro returns nonzero if the sign of x is negative; otherwise it returns zero.

ERRORES

       No suceden errores.

ATRIBUTOS

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

ESTÁNDARES

       C11, POSIX.1-2008.

HISTORIAL

       POSIX.1-2001, C99.

       This function is defined in IEC 559 (and the appendix with recommended functions in IEEE 754/IEEE 854).

VÉASE TAMBIÉN

       copysign(3)

TRADUCCIÓN

       La traducción al español de esta página del manual fue creada por 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                                        signbit(3)