1 2 3 4 5 6
#include <complex.h> float complex cacoshf(float complex z) { return clogf(z + csqrtf(z + 1) * csqrtf(z - 1)); }