COPYSIGN(3m,L) AIX Technical Reference COPYSIGN(3m,L) ------------------------------------------------------------------------------- copysign PURPOSE Copies the sign of a double-precision floating-point number. LIBRARY Math Library (libm.a) SYNTAX #include double copysign (x, y) double x, y; DESCRIPTION The copysign subroutine copies the sign of one double-precision floating-point number to another. The x parameter contains the number to be changed to the sign of y parameter. RETURN VALUE The copysign subroutine returns x with the same sign as y. Processed November 7, 1990 COPYSIGN(3m,L) 1