about summary refs log tree commit diff
path: root/src/complex/catanh.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/complex/catanh.c')
-rw-r--r--src/complex/catanh.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/complex/catanh.c b/src/complex/catanh.c
index b1628022..e248d9b9 100644
--- a/src/complex/catanh.c
+++ b/src/complex/catanh.c
@@ -4,6 +4,6 @@
 
 double complex catanh(double complex z)
 {
-	z = catan(cpack(-cimag(z), creal(z)));
-	return cpack(cimag(z), -creal(z));
+	z = catan(CMPLX(-cimag(z), creal(z)));
+	return CMPLX(cimag(z), -creal(z));
 }