COPYSIGN

Section: Linux Programmer's Manual (3)
Updated: June 6, 1993
 

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