mirror of
https://github.com/freebsd/freebsd-src
synced 2024-07-22 02:37:15 +00:00
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
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=129861
|
@ -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…
Reference in a new issue