_chgsign

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

double _chgsign( double x );

Routine Required Header Compatibility
_chgsign <float.h> Win 95, Win NT

For additional compatibility information, see Compatibility in the Introduction.

Libraries

LIBC.LIB Single thread static library, retail version
LIBCMT.LIB Multithread static library, retail version
MSVCRT.LIB Import library for MSVCRT.DLL, retail version

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.

Parameter

x

Double-precision floating-point value to be changed

Floating-Point Support Routines

See Also   fabs, _copysign