title | description | ms.date | api_name | api_location | api_type | topic_type | f1_keywords | helpviewer_keywords | ms.assetid | ||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
_chgsign, _chgsignf, _chgsignl |
API reference for _chgsign, _chgsignf, and _chgsignl; which reverses the sign of a floating-point argument. |
04/05/2018 |
|
|
|
|
|
|
a6646f8e-213d-4564-8617-f43bc66f989f |
Reverses the sign of a floating-point argument.
double _chgsign(
double x
);
float _chgsignf(
float x
);
long double _chgsignl(
long double x
);
x
The floating-point value to be changed.
The _chgsign
functions return a value that's equal to the floating-point argument x
, but with its sign reversed. There's no error return.
Routine | Required header |
---|---|
_chgsign |
<float.h> |
_chgsignf , _chgsignl |
<math.h> |
For more compatibility information, see Compatibility.
Math and floating-point support
fabs
, fabsf
, fabsl
copysign
, copysignf
, copysignl
, _copysign
, _copysignf
, _copysignl