about summary refs log tree commit diff
path: root/src/complex/csinl.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/complex/csinl.c')
-rw-r--r--src/complex/csinl.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/complex/csinl.c b/src/complex/csinl.c
index 4ad86745..4e9f86c3 100644
--- a/src/complex/csinl.c
+++ b/src/complex/csinl.c
@@ -8,7 +8,7 @@ long double complex csinl(long double complex z)
 #else
 long double complex csinl(long double complex z)
 {
-	z = csinhl(cpackl(-cimagl(z), creall(z)));
-	return cpackl(cimagl(z), -creall(z));
+	z = csinhl(CMPLXL(-cimagl(z), creall(z)));
+	return CMPLXL(cimagl(z), -creall(z));
 }
 #endif