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/conjf.c | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 lib/libm/conjf.c (limited to 'lib/libm/conjf.c') diff --git a/lib/libm/conjf.c b/lib/libm/conjf.c new file mode 100644 index 00000000..d7c6f4cd --- /dev/null +++ b/lib/libm/conjf.c @@ -0,0 +1,8 @@ +#include "__complex.h" + +float complex conjf(float complex z) +{ + float_complex w = { .z = z }; + IMAG_PART(w) = -IMAG_PART(w); + return (w.z); +} -- cgit v1.2.3