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

float complex ctanf(float complex z)
{
	z = ctanhf(CMPLXF(-cimagf(z), crealf(z)));
	return CMPLXF(cimagf(z), -crealf(z));
}