about summary refs log tree commit diff
path: root/src/complex/conjl.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/complex/conjl.c')
-rw-r--r--src/complex/conjl.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/complex/conjl.c b/src/complex/conjl.c
new file mode 100644
index 00000000..01332262
--- /dev/null
+++ b/src/complex/conjl.c
@@ -0,0 +1,6 @@
+#include "libm.h"
+
+long double complex conjl(long double complex z)
+{
+	return cpackl(creall(z), -cimagl(z));
+}