cacosh Function (ROM Call 0x13D)

math.h, timath.h

void cacosh (float z_re, float z_im, float *w_re, float *w_im);

Complex hyperbolic area cosine.

cacosh calculates the hyperbolic area cosine w = acosh(z) of the complex number which real and imaginary parts are z_re and z_im, and stores real and imaginary part of the result in floating point destinations pointed to by w_re and w_im. The complex hyperbolic area cosine is defined by

acosh(z) = ln (z + sqrt (z^2 - 1))

where ln and sqrt are complex natural logarithm and complex square root (see cln and csqrt).


Uses: cacos, fabs, _bcd_math