_copysign

Copies the sign of a floating point number.

double _copysign (double x, double y);

Required Header
<math.h>

Return Value

This function returns the value x with the sign of y.

Parameters

x

  The floating point number to convert

y

  The floating point number to copy

Mathematics

See Also    fabs, _chgsign