From 885f5974cdf65b59415837ae97f5a14ef1350670 Mon Sep 17 00:00:00 2001 From: Kacper Date: Tue, 9 Dec 2025 19:20:15 +0100 Subject: feat: add gzip and new headers --- lib/libm/ccosh.c | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 lib/libm/ccosh.c (limited to 'lib/libm/ccosh.c') diff --git a/lib/libm/ccosh.c b/lib/libm/ccosh.c new file mode 100644 index 00000000..9cfff54a --- /dev/null +++ b/lib/libm/ccosh.c @@ -0,0 +1,12 @@ +#include +#include + +double complex ccosh(double complex z) +{ + double x, y; + + x = creal(z); + y = cimag(z); + + return cosh(x) * cos(y) + (sinh(x) * sin(y)) * I; +} -- cgit v1.2.3