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/csinl.c | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 lib/libm/csinl.c (limited to 'lib/libm/csinl.c') diff --git a/lib/libm/csinl.c b/lib/libm/csinl.c new file mode 100644 index 00000000..df049bcc --- /dev/null +++ b/lib/libm/csinl.c @@ -0,0 +1,9 @@ +#include "__complex.h" + +long double complex csinl(long double complex z) +{ + long double ch, sh; + cchshl(cimagl(z), &ch, &sh); + return sinl(creall(z)) * ch + + (cosl(creall(z)) * sh) * (long double complex)I; +} -- cgit v1.2.3