diff options
author | stefanf <stefanf@FreeBSD.org> | 2004-05-30 08:47:12 +0000 |
---|---|---|
committer | stefanf <stefanf@FreeBSD.org> | 2004-05-30 08:47:12 +0000 |
commit | f495b1e357c24dd2c910c7b97ecb30eef797b6ef (patch) | |
tree | e22e200db6bb6fa075b2790aa35cd8d126405929 /include | |
parent | c8b1bb80323840fbc2eeb4683525f6333a8a38e4 (diff) | |
download | FreeBSD-src-f495b1e357c24dd2c910c7b97ecb30eef797b6ef.zip FreeBSD-src-f495b1e357c24dd2c910c7b97ecb30eef797b6ef.tar.gz |
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)
Diffstat (limited to 'include')
-rw-r--r-- | include/complex.h | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/include/complex.h b/include/complex.h index 88cc5b5..bb2ec97 100644 --- a/include/complex.h +++ b/include/complex.h @@ -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 */ |