public inbox for newlib-cvs@sourceware.org
help / color / mirror / Atom feed
* [newlib-cygwin] newlib/libm/complex/cargl.c change imag() real() to cimagl() creall()
@ 2017-09-19 20:36 Yaakov Selkowitz
  0 siblings, 0 replies; only message in thread
From: Yaakov Selkowitz @ 2017-09-19 20:36 UTC (permalink / raw)
  To: newlib-cvs

https://sourceware.org/git/gitweb.cgi?p=newlib-cygwin.git;h=f9b24fad7c7b0ed20d2c5c82bd97f7dd8e1532f0

commit f9b24fad7c7b0ed20d2c5c82bd97f7dd8e1532f0
Author: Brian Inglis <Brian.Inglis@SystematicSW.ab.ca>
Date:   Wed Sep 13 00:26:48 2017 -0600

    newlib/libm/complex/cargl.c change imag() real() to cimagl() creall()

Diff:
---
 newlib/libm/complex/cargl.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/newlib/libm/complex/cargl.c b/newlib/libm/complex/cargl.c
index d2885a4..790cffe 100644
--- a/newlib/libm/complex/cargl.c
+++ b/newlib/libm/complex/cargl.c
@@ -13,6 +13,6 @@ cargl(long double complex z)
        #ifdef _LDBL_EQ_DBL
          return carg (z);
        #else
-         return atan2l (imag (z), real (z));
+         return atan2l (cimagl (z), creall (z));
        #endif
 }


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2017-09-19 20:36 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-09-19 20:36 [newlib-cygwin] newlib/libm/complex/cargl.c change imag() real() to cimagl() creall() Yaakov Selkowitz

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).