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