This documentation is archived and is not being maintained.

_chgsign, _chgsignf, _chgsignl

Reverses the sign of a floating-point argument.

double _chgsign( 
   double x 
float _chgsignf(
   float x 
long double _chgsignl( 
   long double 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 is no error return.


Required header



_chgsignf, _chgsignl


For more compatibility information, see Compatibility.

Not applicable. To call the standard C function, use PInvoke. For more information, see Platform Invoke Examples.