about summary refs log tree commit diff
path: root/src/complex/clogf.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/complex/clogf.c')
-rw-r--r--src/complex/clogf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/complex/clogf.c b/src/complex/clogf.c
index f3aec54d..e9b32e60 100644
--- a/src/complex/clogf.c
+++ b/src/complex/clogf.c
@@ -8,5 +8,5 @@ float complex clogf(float complex z)
 
 	r = cabsf(z);
 	phi = cargf(z);
-	return cpackf(logf(r), phi);
+	return CMPLXF(logf(r), phi);
 }