[libc-commits] [libc] [llvm] [libc][math] Refactor tanhf implementation to header-only in src/__support/math folder. (PR #178554)

Muhammad Bassiouni via libc-commits libc-commits at lists.llvm.org
Mon Feb 9 06:31:17 PST 2026


================
@@ -1568,3 +1568,16 @@ add_header_library(
     libc.src.__support.FPUtil.polyeval
     libc.src.__support.macros.optimization
 )
+
+add_header_library(
+  tanhf
+  HDRS
+    tanhf.h
+  DEPENDS
----------------
bassiounix wrote:

you should mimic the include headers with the respective deps

https://github.com/llvm/llvm-project/pull/178554


More information about the libc-commits mailing list