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