signbit(3) Library Functions Manual signbit(3) NOMBRE signbit - comprueba el signo de un numero real en coma flotante BIBLIOTECA Biblioteca Matematica (libm, -lm) SINOPSIS #include int signbit(x); Requisitos de Macros de Prueba de Caracteristicas para glibc (vease feature_test_macros(7)): signbit(): _ISOC99_SOURCE || _POSIX_C_SOURCE >= 200112L DESCRIPCION signbit() es una macro generica 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 explicacion de los terminos usados en esta seccion, vease attributes(7). +-----------------------------+--------------------+-------------------+ |Interfaz | Atributo | Valor | +-----------------------------+--------------------+-------------------+ |signbit() | Seguridad del hilo | Multi-hilo seguro | +-----------------------------+--------------------+-------------------+ ESTANDARES 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). VEASE TAMBIEN copysign(3) TRADUCCION La traduccion al espanol de esta pagina del manual fue creada por Miguel Perez Ibars Esta traduccion es documentacion libre; lea la GNU General Public License Version 3 o posterior con respecto a las condiciones de copyright. No existe NINGUNA RESPONSABILIDAD. Si encuentra algun error en la traduccion de esta pagina del manual, envie un correo electronico a . Paginas de Manual de Linux 6.8 2 Mayo 2024 signbit(3)