diff options
Diffstat (limited to 'src/complex/conjf.c')
-rw-r--r-- | src/complex/conjf.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/complex/conjf.c b/src/complex/conjf.c new file mode 100644 index 00000000..31556800 --- /dev/null +++ b/src/complex/conjf.c @@ -0,0 +1,6 @@ +#include "libm.h" + +float complex conjf(float complex z) +{ + return cpackf(crealf(z), -cimagf(z)); +} |