about summary refs log tree commit diff
path: root/src/complex/csinf.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/complex/csinf.c')
-rw-r--r--src/complex/csinf.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/complex/csinf.c b/src/complex/csinf.c
index 3aabe8f8..60b3cbaa 100644
--- a/src/complex/csinf.c
+++ b/src/complex/csinf.c
@@ -2,6 +2,6 @@
 
 float complex csinf(float complex z)
 {
-	z = csinhf(cpackf(-cimagf(z), crealf(z)));
-	return cpackf(cimagf(z), -crealf(z));
+	z = csinhf(CMPLXF(-cimagf(z), crealf(z)));
+	return CMPLXF(cimagf(z), -crealf(z));
 }