_chgsign, _chgsignl
div
eof
TOC
Collapse the table of content
Expand the table of content
The document is archived and information here might be outdated

_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 
);

Parameters

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 Compatibility

_chgsign

<float.h>

Windows 95, Windows 98, Windows 98 Second Edition, Windows Millennium Edition, Windows NT 4.0, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003

_chgsignl

<math.h>

Windows 95, Windows 98, Windows 98 Second Edition, Windows Millennium Edition, Windows NT 4.0, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003

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.

Show:
© 2016 Microsoft