about summary refs log tree commit diff
path: root/src/complex/clog.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/complex/clog.c')
-rw-r--r--src/complex/clog.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/complex/clog.c b/src/complex/clog.c
index 6f10a115..12aae9c7 100644
--- a/src/complex/clog.c
+++ b/src/complex/clog.c
@@ -10,5 +10,5 @@ double complex clog(double complex z)
 
 	r = cabs(z);
 	phi = carg(z);
-	return cpack(log(r), phi);
+	return CMPLX(log(r), phi);
 }