COPYSIGN
NAME SYNOPSIS DESCRIPTION CONFORMING TO
copysign - copy sign of a number
#include x, double y);
The copysign() function returns a value whose absolute value matches x, but whose sign matches that of y.
BSD 4.3
One page links to copysign(3):