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/ccoshf.c | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 lib/libm/ccoshf.c (limited to 'lib/libm/ccoshf.c') diff --git a/lib/libm/ccoshf.c b/lib/libm/ccoshf.c new file mode 100644 index 00000000..12fc7e6d --- /dev/null +++ b/lib/libm/ccoshf.c @@ -0,0 +1,12 @@ +#include +#include + +float complex ccoshf(float complex z) +{ + float x, y; + + x = crealf(z); + y = cimagf(z); + + return coshf(x) * cosf(y) + (sinhf(x) * sinf(y)) * I; +} -- cgit v1.2.3