Export (0) Print
Expand All
div
eof
Expand Minimize
This topic has not yet been rated - Rate this topic

_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.

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.