From f9b24fad7c7b0ed20d2c5c82bd97f7dd8e1532f0 Mon Sep 17 00:00:00 2001 From: Brian Inglis Date: Wed, 13 Sep 2017 00:26:48 -0600 Subject: [PATCH] newlib/libm/complex/cargl.c change imag() real() to cimagl() creall() --- 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 d2885a459..790cffe8f 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 }