summaryrefslogtreecommitdiff
path: root/lib/libm/cacoshl.c
blob: abe906efff7f89c0aad8288f8470d03abff11ac4 (plain)
1
2
3
4
5
6
#include <complex.h>

long double complex cacoshl(long double complex z)
{
	return clogl(z + csqrtl(z + 1) * csqrtl(z - 1));
}