blob: 009b1921ba35699471628e8cd3dcfa4b76adcfbc [file] [log] [blame]
#include "libm.h"
float complex ctanf(float complex z)
{
z = ctanhf(CMPLXF(-cimagf(z), crealf(z)));
return CMPLXF(cimagf(z), -crealf(z));
}