[PATCH] Fix tgmath.h
Jakub Jelinek
jakub@redhat.com
Thu Jan 25 06:59:00 GMT 2001
Hi!
We have too many opening parens (resp. too few closing ones, your decision)
which is a bad thing.
Maybe we should cook up some test which will include tgmath.h and use all
functions declared there just to make sure it can be compiled.
2001-01-25 Jakub Jelinek <jakub@redhat.com>
* math/tgmath.h (__TGMATH_UNARY_REAL_IMAG,
__TGMATH_BINARY_REAL_IMAG): Remove extraneous left parenthesis.
--- libc/math/tgmath.h.jj Tue Aug 22 10:12:56 2000
+++ libc/math/tgmath.h Thu Jan 25 16:53:33 2001
@@ -136,8 +136,8 @@
__tgmres = Cfct##l (Val); \
} \
else if (sizeof (__real__ (Val)) == sizeof (double) \
- || (__builtin_classify_type (__real__ (Val)) \
- != 8) \
+ || __builtin_classify_type (__real__ (Val)) \
+ != 8) \
{ \
if (sizeof (__real__ (Val)) == sizeof (Val)) \
__tgmres = Fct (Val); \
@@ -182,8 +182,8 @@
} \
else if (sizeof (__real__ (Val1)) == sizeof (double) \
|| sizeof (__real__ (Val2)) == sizeof(double) \
- || (__builtin_classify_type (__real__ (Val)) \
- != 8) \
+ || __builtin_classify_type (__real__ (Val)) \
+ != 8) \
{ \
if (sizeof (__real__ (Val1)) == sizeof (Val1) \
&& sizeof (__real__ (Val2)) == sizeof (Val2)) \
Jakub
More information about the Libc-hacker
mailing list