diff options
author | Corinna Vinschen <corinna@vinschen.de> | 2010-11-26 08:59:22 +0000 |
---|---|---|
committer | Corinna Vinschen <corinna@vinschen.de> | 2010-11-26 08:59:22 +0000 |
commit | abc9278b2dfb3de089d2772b78739d36c11e6810 (patch) | |
tree | b771250d00a8225196a4440f5687a511013214c7 /newlib | |
parent | a52370396d356b921ab8dde9c929fa683c0a7c79 (diff) | |
download | newlib-abc9278b2dfb3de089d2772b78739d36c11e6810.zip newlib-abc9278b2dfb3de089d2772b78739d36c11e6810.tar.gz newlib-abc9278b2dfb3de089d2772b78739d36c11e6810.tar.bz2 |
* libm/complex/cargf.c: Use crealf instead of creal.
Diffstat (limited to 'newlib')
-rw-r--r-- | newlib/ChangeLog | 4 | ||||
-rw-r--r-- | newlib/libm/complex/cargf.c | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/newlib/ChangeLog b/newlib/ChangeLog index 62e2632..32f8ad1 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 74bfb84..1683d21 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) ); } |