aboutsummaryrefslogtreecommitdiff
path: root/src/complex/casinh.c
diff options
context:
space:
mode:
authorRich Felker <dalias@aerifal.cx>2012-11-15 08:37:58 -0500
committerRich Felker <dalias@aerifal.cx>2012-11-15 08:37:58 -0500
commit8bb181622222f2ee3462c8b021bcae4fcdbbd37a (patch)
tree166a1be834c8cd5a4c2521d41d7ee506bd8c8e51 /src/complex/casinh.c
parentupdate copyright file for recent contributions (diff)
parentfenv: return FE_TONEAREST in dummy fegetround (diff)
downloadgrovel-8bb181622222f2ee3462c8b021bcae4fcdbbd37a.tar.gz
grovel-8bb181622222f2ee3462c8b021bcae4fcdbbd37a.tar.xz
Merge remote-tracking branch 'nsz/math'
Diffstat (limited to 'src/complex/casinh.c')
-rw-r--r--src/complex/casinh.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/complex/casinh.c b/src/complex/casinh.c
index f2b3fef8..b57fe8c4 100644
--- a/src/complex/casinh.c
+++ b/src/complex/casinh.c
@@ -4,6 +4,6 @@
double complex casinh(double complex z)
{
- z = casin(cpack(-cimag(z), creal(z)));
- return cpack(cimag(z), -creal(z));
+ z = casin(CMPLX(-cimag(z), creal(z)));
+ return CMPLX(cimag(z), -creal(z));
}