diff options
Diffstat (limited to 'src/complex/cimagf.c')
-rw-r--r-- | src/complex/cimagf.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/complex/cimagf.c b/src/complex/cimagf.c index 99fffc58..f7bcd76e 100644 --- a/src/complex/cimagf.c +++ b/src/complex/cimagf.c @@ -2,6 +2,5 @@ float (cimagf)(float complex z) { - union fcomplex u = {z}; - return u.a[1]; + return cimagf(z); } |