about summary refs log tree commit diff
path: root/src/complex/catanhl.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/complex/catanhl.c')
-rw-r--r--src/complex/catanhl.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/complex/catanhl.c b/src/complex/catanhl.c
index 0a9374a3..a5dd538e 100644
--- a/src/complex/catanhl.c
+++ b/src/complex/catanhl.c
@@ -8,7 +8,7 @@ long double complex catanhl(long double complex z)
 #else
 long double complex catanhl(long double complex z)
 {
-	z = catanl(cpackl(-cimagl(z), creall(z)));
-	return cpackl(cimagl(z), -creall(z));
+	z = catanl(CMPLXL(-cimagl(z), creall(z)));
+	return CMPLXL(cimagl(z), -creall(z));
 }
 #endif