copysign(3M)
NAME
copysign - return magnitude of first argument and sign of
second argument
SYNOPSIS
cc [ flag ... ] file ... -lm [ library ... ]
#include <math.h>
double copysign(double x, double y);
DESCRIPTION
The copysign() function returns a value with the magnitude
of x and the sign of y. It produces a NaN with the sign of y
if x is a NaN.
RETURN VALUES
The copysign() function returns a value with the magnitude
of x and the sign of y.
ATTRIBUTES
See attributes(5) for descriptions of the following attri-
butes:
____________________________________________________________
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
|_____________________________|_____________________________|
| MT-Level | MT-Safe |
|_____________________________|_____________________________|
SEE ALSO
attributes(5)
Man(1) output converted with
man2html