summaryrefslogtreecommitdiff
path: root/src/complex/casin.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/complex/casin.c')
-rw-r--r--src/complex/casin.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/complex/casin.c b/src/complex/casin.c
index 79aff278..dfdda988 100644
--- a/src/complex/casin.c
+++ b/src/complex/casin.c
@@ -11,6 +11,6 @@ double complex casin(double complex z)
x = creal(z);
y = cimag(z);
- w = cpack(1.0 - (x - y)*(x + y), -2.0*x*y);
- return clog(cpack(-y, x) + csqrt(w));
+ w = CMPLX(1.0 - (x - y)*(x + y), -2.0*x*y);
+ return clog(CMPLX(-y, x) + csqrt(w));
}