[PATCH 2/2] Fixing HUGE_VALF to HUGE_VALL.

Aditya Upadhyay aadit0402@gmail.com
Fri Jul 28 17:34:00 GMT 2017


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

diff --git a/newlib/libm/complex/ctanl.c b/newlib/libm/complex/ctanl.c
index 9255bdb07..c5c887c74 100644
--- a/newlib/libm/complex/ctanl.c
+++ b/newlib/libm/complex/ctanl.c
@@ -47,7 +47,7 @@ ctanl(long double complex z)
 
 	if (d == 0.0L) {
 		/* mtherr ("ctan", OVERFLOW); */
-		w = HUGE_VALF + HUGE_VALF * I;
+		w = HUGE_VALL + HUGE_VALL * I;
 		return w;
 	}
 
-- 
2.13.0



More information about the Newlib mailing list