Developer's Daily | Unix by Example |
main | java | perl | unix | dev directory | web log |
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 |