Query: copysign
OS: freebsd
Section: 3
Links: freebsd man pages all man pages
Forums: forum home forum categories
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
COPYSIGN(3) BSD Library Functions Manual COPYSIGN(3)NAMEcopysign, copysignf, copysignl -- copy signLIBRARYMath Library (libm, -lm)SYNOPSIS#include <math.h> double copysign(double x, double y); float copysignf(float x, float y); long double copysignl(long double x, long double y);DESCRIPTIONThe copysign(), copysignf() and copysignl() functions return x with its sign changed to y's.SEE ALSOfabs(3), fdim(3), ieee(3), math(3)STANDARDSThe copysign(), copysignf(), and copysignl() routines conform to ISO/IEC 9899:1999 (``ISO C99''). They implement the Copysign function rec- ommended by IEEE Std 754-1985.HISTORYThe copysign(), copysignf(), and copysignl() functions appeared in 4.3BSD, FreeBSD 2.0, and FreeBSD 5.3, respectively.BSDJanuary 26, 2005 BSD