about summary refs log tree commit diff
path: root/src/complex/ccosf.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/complex/ccosf.c')
-rw-r--r--src/complex/ccosf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/complex/ccosf.c b/src/complex/ccosf.c
index 9b72c4f4..9a67241f 100644
--- a/src/complex/ccosf.c
+++ b/src/complex/ccosf.c
@@ -2,5 +2,5 @@
 
 float complex ccosf(float complex z)
 {
-	return ccoshf(cpackf(-cimagf(z), crealf(z)));
+	return ccoshf(CMPLXF(-cimagf(z), crealf(z)));
 }