extend cmath (some of the functions are dummy)
[libm] / src / cmath / ccos.c
index 9757e6a..5754c23 100644 (file)
@@ -1,5 +1,7 @@
 #include "libm.h"
 
+/* cos(z) = cosh(i z) */
+
 double complex ccos(double complex z)
 {
        return ccosh(cpack(-cimag(z), creal(z)));