COPYSIGN(3) | Library Functions Manual | COPYSIGN(3) |
copysign
, copysignf
,
copysignl
—
#include <math.h>
double
copysign
(double
x, double y);
float
copysignf
(float
x, float y);
long double
copysignl
(long
double x, long double
y);
#include
<tgmath.h>
real-floating
copysign
(real-floating
x, real-floating
y);
copysign
(), copysignf
(), and
copysignl
() functions return a value whose absolute
value matches x, but whose sign bit is taken from
y.
September 28, 2017 | NetBSD 9.2 |