OSDN Git Service

* libm/complex/cargf.c: Use crealf instead of creal.
authorcorinna <corinna>
Fri, 26 Nov 2010 17:59:21 +0000 (17:59 +0000)
committercorinna <corinna>
Fri, 26 Nov 2010 17:59:21 +0000 (17:59 +0000)
newlib/ChangeLog
newlib/libm/complex/cargf.c

index 62e2632..32f8ad1 100644 (file)
@@ -1,3 +1,7 @@
+2010-11-25  Ralf Corsépius  <ralf.corsepius@rtems.org>
+
+       * libm/complex/cargf.c: Use crealf instead of creal.
+
 2010-11-19  Andy Koppe <andy.koppe@gmail.com>
 
        * libc/locale/locale.c (loadlocale): Recognise the "cjknarrow"
index 74bfb84..1683d21 100644 (file)
@@ -15,5 +15,5 @@ float
 cargf(float complex z)
 {
 
-       return atan2f( cimagf(z), creal(z) );
+       return atan2f( cimagf(z), crealf(z) );
 }