c99ec2397a94b39e123c0069cb406e2400ef6076
[reactos.git] / lib / msvcrt / float / chgsign.c
1 #include <msvcrt/float.h>
2 #include <msvcrt/internal/ieee.h>
3
4
5 /*
6  * @implemented
7  */
8 double _chgsign( double __x )
9 {
10         double_t *x = (double_t *)&x;
11
12         if ( x->sign == 1 )
13                 x->sign = 0;
14         else 
15                 x->sign = 1;
16
17         return __x;
18 }