summaryrefslogtreecommitdiff
path: root/src/complex/ctanf.c
blob: 04c3ff198a24f59fff99d732b816ea07ab418109 (plain) (blame)
1
2
3
4
5
6
7
#include "complex_impl.h"

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