GNU/Linux |
RedHat 5.2(Apollo) |
|
![]() |
copysign(3) |
![]() |
copysign − copy sign of a number
#include <math.h>
double copysign(double x, double y);
The copysign() function returns a value whose absolute value matches x, but whose sign matches that of y.
BSD 4.3
![]() |
copysign(3) | ![]() |