about summary refs log tree commit diff
path: root/src/complex/ccosl.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/complex/ccosl.c')
-rw-r--r--src/complex/ccosl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/complex/ccosl.c b/src/complex/ccosl.c
index e37825a9..d787047f 100644
--- a/src/complex/ccosl.c
+++ b/src/complex/ccosl.c
@@ -8,6 +8,6 @@ long double complex ccosl(long double complex z)
 #else
 long double complex ccosl(long double complex z)
 {
-	return ccoshl(cpackl(-cimagl(z), creall(z)));
+	return ccoshl(CMPLXL(-cimagl(z), creall(z)));
 }
 #endif