fix scanf %c conversion wrongly storing a terminating null byte
[musl] / src / complex / cacosh.c
1 #include "libm.h"
2
3 /* acosh(z) = i acos(z) */
4
5 double complex cacosh(double complex z)
6 {
7         z = cacos(z);
8         return CMPLX(-cimag(z), creal(z));
9 }