about summary refs log tree commit diff
path: root/src/complex/catanhf.c
blob: b0505f6054053cd5797ee91cf818e4a75cd8045a (plain) (blame)
1
2
3
4
5
6
7
#include "complex_impl.h"

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