Export (0) Print
Expand All
div
eof
Expand Minimize

_chgsign, _chgsignl

Reverses the sign of a double-precision, floating-point or a long double-precision, floating-point argument.

double _chgsign( 
   double x 
);
long double _chgsignl( 
   long double x 
);

x

Double-precision or long double-precision, floating-point value to be changed.

_chgsign returns a value equal to its double-precision, floating-point argument x, but with its sign reversed. _chgsignl returns a value equal to its long double-precision, floating-point argument x, but with its sign reversed. There is no error return.

Routine

Required header

_chgsign

<float.h>

_chgsignl

<math.h>

For more compatibility information, see Compatibility in the Introduction.

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

Community Additions

ADD
Show:
© 2014 Microsoft