Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
_chgsign
div
Collapse the table of content
Expand the table of content

_chgsign

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

double _chgsign( 
   double x 
);

Parameter

x
Double-precision, floating-point value to be changed.

Return Value

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

Requirements

Routine Required header Compatibility
_chgsign <float.h> Win 98, Win Me, Win NT, Win 2000, Win XP

For additional compatibility information, see Compatibility in the Introduction.

Libraries

All versions of the C run-time libraries.

See Also

Floating-Point Support Routines | fabs | _copysign | Run-Time Routines and .NET Framework Equivalents

Show:
© 2015 Microsoft