diff options
author | das <das@FreeBSD.org> | 2009-03-14 18:24:15 +0000 |
---|---|---|
committer | das <das@FreeBSD.org> | 2009-03-14 18:24:15 +0000 |
commit | fa12b26b661e096786094626306fd95ff506ac20 (patch) | |
tree | a4247d26e72ccf2c49cb3317cb6a07631b1e2832 /lib/msun/src/s_cimagl.c | |
parent | 4cd01fc223701ae9a3fc4907d8c8e835ca6193d6 (diff) | |
download | FreeBSD-src-fa12b26b661e096786094626306fd95ff506ac20.zip FreeBSD-src-fa12b26b661e096786094626306fd95ff506ac20.tar.gz |
Eliminate __real__ and __imag__ gccisms.
Diffstat (limited to 'lib/msun/src/s_cimagl.c')
-rw-r--r-- | lib/msun/src/s_cimagl.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/msun/src/s_cimagl.c b/lib/msun/src/s_cimagl.c index 581f443..c50e967 100644 --- a/lib/msun/src/s_cimagl.c +++ b/lib/msun/src/s_cimagl.c @@ -27,10 +27,12 @@ */ #include <complex.h> +#include "math_private.h" long double cimagl(long double complex z) { + const long_double_complex z1 = { .f = z }; - return (__imag__ z); + return (IMAGPART(z1)); } |