Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/newlib
diff options
context:
space:
mode:
authorCorinna Vinschen <corinna@vinschen.de>2010-11-26 11:59:22 +0300
committerCorinna Vinschen <corinna@vinschen.de>2010-11-26 11:59:22 +0300
commitabc9278b2dfb3de089d2772b78739d36c11e6810 (patch)
treeb771250d00a8225196a4440f5687a511013214c7 /newlib
parenta52370396d356b921ab8dde9c929fa683c0a7c79 (diff)
* libm/complex/cargf.c: Use crealf instead of creal.
Diffstat (limited to 'newlib')
-rw-r--r--newlib/ChangeLog4
-rw-r--r--newlib/libm/complex/cargf.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/newlib/ChangeLog b/newlib/ChangeLog
index 62e26326a..32f8ad194 100644
--- a/newlib/ChangeLog
+++ b/newlib/ChangeLog
@@ -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"
diff --git a/newlib/libm/complex/cargf.c b/newlib/libm/complex/cargf.c
index 74bfb84d2..1683d2195 100644
--- a/newlib/libm/complex/cargf.c
+++ b/newlib/libm/complex/cargf.c
@@ -15,5 +15,5 @@ float
cargf(float complex z)
{
- return atan2f( cimagf(z), creal(z) );
+ return atan2f( cimagf(z), crealf(z) );
}