[libc-commits] [libc] [llvm] [libc][math] Refactor tanhf implementation to header-only in src/__support/math folder. (PR #178554)
Xinlong Chen via libc-commits
libc-commits at lists.llvm.org
Mon Feb 9 07:43:22 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
+ libc.src.__support.FPUtil.fp_bits
+ libc.src.__support.FPUtil.rounding_mode
+ libc.src.__support.FPUtil.multiply_add
+ libc.src.__support.FPUtil.polyeval
+ libc.src.__support.macros.optimization
+ libc.src.__support.math.exp10f_utils
----------------
Xinlong-Chen wrote:
Done, exp10f_utils is first dep now~
https://github.com/llvm/llvm-project/pull/178554
More information about the libc-commits
mailing list