diff options
Diffstat (limited to 'src/math/signbit.c')
| -rw-r--r-- | src/math/signbit.c | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/src/math/signbit.c b/src/math/signbit.c index a5278e77..77cc3977 100644 --- a/src/math/signbit.c +++ b/src/math/signbit.c @@ -1,20 +1,20 @@ #include <math.h> -#define signbit(x) \ - (sizeof(x) == sizeof(long double) ? \ +#define signbit(__x) \ + (sizeof(__x) == sizeof(long double) ? \ ((((union { \ long double __f; \ - char __c[sizeof(x)]; \ - }){.__f = (x)}).__c[sizeof(x)-1] & 0x80) == 0x80 ? 1 : 0) : \ - sizeof(x) == sizeof(double) ? \ + char __c[sizeof(__x)]; \ + }){.__f = (__x)}).__c[sizeof(__x)-1] & 0x80) == 0x80 ? 1 : 0) : \ + sizeof(__x) == sizeof(double) ? \ ((((union { \ double __f; \ - char __c[sizeof(x)]; \ - }){.__f = (x)}).__c[sizeof(x)-1] & 0x80) == 0x80 ? 1 : 0) : \ + char __c[sizeof(__x)]; \ + }){.__f = (__x)}).__c[sizeof(__x)-1] & 0x80) == 0x80 ? 1 : 0) : \ (((union { \ float __f; \ - char __c[sizeof(x)]; \ - }){.__f = (x)}).__c[sizeof(x)-1] & 0x80) == 0x80 ? 1 : 0) + char __c[sizeof(__x)]; \ + }){.__f = (__x)}).__c[sizeof(__x)-1] & 0x80) == 0x80 ? 1 : 0) /* |
