summaryrefslogtreecommitdiff
path: root/src/complex/casinhf.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/complex/casinhf.c')
-rw-r--r--src/complex/casinhf.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/complex/casinhf.c b/src/complex/casinhf.c
index ed4af643..a11bf902 100644
--- a/src/complex/casinhf.c
+++ b/src/complex/casinhf.c
@@ -2,6 +2,6 @@
float complex casinhf(float complex z)
{
- z = casinf(cpackf(-cimagf(z), crealf(z)));
- return cpackf(cimagf(z), -crealf(z));
+ z = casinf(CMPLXF(-cimagf(z), crealf(z)));
+ return CMPLXF(cimagf(z), -crealf(z));
}