COPYSIGN(3)

NAME
copysign - copy sign of a number

SYNOPSIS
#include <math.h>

double copysign(double x, double y);

DESCRIPTION
The copysign() function returns a value whose absolute value matches x, but whose sign matches that of y.

CONFORMING TO
BSD 4.3