Man page - copysignl(3)

Packages contains this manual

Available languages:

en fr pt_BR es pl ja ru ro de

Manual

copysign

NOMBRE
BIBLIOTECA
SINOPSIS
DESCRIPCIÓN
VALOR DEVUELTO
ERRORES
ATRIBUTOS
VERSIONES
ESTÁNDARES
HISTORIAL
VÉASE TAMBIÉN
TRADUCCIÓN

NOMBRE

copysign, copysignf, copysignl - copian el signo de un número

BIBLIOTECA

Biblioteca Matemática ( libm , -lm )

SINOPSIS

#include <math.h>

double copysign(double x , double y );
float copysignf(float
x , float y );
long double copysignl(long double
x , long double y );

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

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

DESCRIPCIÓN

These functions return a value whose absolute value matches that of x , but whose sign bit matches that of y .

For example, copysign(42.0, -1.0) and copysign(-42.0, -1.0) both return -42.0.

VALOR DEVUELTO

On success, these functions return a value whose magnitude is taken from x and whose sign is taken from y .

If x is a NaN, a NaN with the sign bit of y 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).

Image grohtml-3957322-1.png

VERSIONES

On architectures where the floating-point formats are not IEEE 754 compliant, these functions may treat a negative zero as positive.

ESTÁNDARES

C11, POSIX.1-2008.

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

HISTORIAL

C99, POSIX.1-2001, 4.3BSD.

VÉASE TAMBIÉN

signbit (3)

TRADUCCIÓN

La traducción al español de esta página del manual fue creada por Sebastian Desimone <chipy@argenet.com.ar>, 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 .