copysign
Purpose
Copies the sign of a double-precision floating-point
number.
Library
Math Library (libm.a)
Syntax
#include <math.h>
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 param-
eter 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.