Remove the macros for creal{,f} and cimag{,f}. They failed to convert their
arguments to the needed type and so the result type depended on the argument type. Fixing them isn't really worth the effort because GCC emits the same assembler code with or without them. Not minded by: ru Approved by: das (mentor)
This commit is contained in:
parent
b59f545aa2
commit
fe1737b6f3
@ -50,11 +50,4 @@ float crealf(float complex);
|
||||
|
||||
__END_DECLS
|
||||
|
||||
#ifdef __GNUC__
|
||||
#define cimag(z) (__imag__ (z))
|
||||
#define cimagf(z) (__imag__ (z))
|
||||
#define creal(z) (__real__ (z))
|
||||
#define crealf(z) (__real__ (z))
|
||||
#endif
|
||||
|
||||
#endif /* _COMPLEX_H */
|
||||
|
Loading…
x
Reference in New Issue
Block a user