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