catanh.c\complex\src - musl - musl - an implementation of the standard library for Linux-based systems

index : musl
musl - an implementation of the standard library for Linux-based systems
summary refs log tree commit diff
path: root/src/complex/catanh.c
blob: c324c7f2bca8017d6e27474a21576c157cf78ad9 (plain) (blame)
1
2
3
4
5
6
7
8
9
#include "complex_impl.h"
/* atanh = -i atan(i z) */
double complex catanh(double complex z)
{
	z = catan(CMPLX(-cimag(z), creal(z)));
	return CMPLX(cimag(z), -creal(z));
}
generated by cgit v1.2.1 (git 2.18.0) at 2025年10月07日 01:13:03 +0000

AltStyle によって変換されたページ (->オリジナル) /