summaryrefslogtreecommitdiff
path: root/src/complex/catanhf.c
blob: e1d1e6489ed26d3f192e458b3f96e65056e267b2 (plain) (blame)
1
2
3
4
5
6
7
#include "libm.h"

float complex catanhf(float complex z)
{
	z = catanf(cpackf(-cimagf(z), crealf(z)));
	return cpackf(cimagf(z), -crealf(z));
}