|
NAMEcopysign , copysignf ,
copysignl —
copy sign
LIBRARYMath Library (libm, -lm)SYNOPSIS#include <math.h>
double
float
long double
DESCRIPTIONThecopysign (), copysignf () and
copysignl () functions return x
with its sign changed to y's.
SEE ALSOfabs(3), fdim(3), ieee(3), math(3)STANDARDSThecopysign (), copysignf (), and
copysignl () routines conform to
ISO/IEC 9899:1999 (“ISO C99”).
They implement the Copysign function recommended by IEEE Std
754-1985.
HISTORYThecopysign (), copysignf (), and
copysignl () functions appeared in
4.3BSD, FreeBSD 2.0, and
FreeBSD 5.3, respectively.
Visit the GSP FreeBSD Man Page Interface. |