[libc-commits] [libc] [llvm] [libc][math] Refactor pow to Header Only. (PR #176529)
Nico Weber via libc-commits
libc-commits at lists.llvm.org
Thu Jan 22 18:56:27 PST 2026
================
@@ -1139,6 +1139,25 @@ add_header_library(
libc.src.__support.uint128
)
+add_header_library(
+ pow
+ HDRS
+ pow.h
+ DEPENDS
+ libc.src.__support.CPP.bit
+ libc.src.__support.FPUtil.fenv_impl
+ libc.src.__support.FPUtil.fp_bits
+ libc.src.__support.FPUtil.multiply_add
+ libc.src.__support.FPUtil.nearest_integer
+ libc.src.__support.FPUtil.polyeval
+ libc.src.__support.FPUtil.sqrt
+ libc.src.__support.FPUtil.triple_double
+ libc.src.__support.macros.optimization
+ libc.src.__support.math.common_constants
+ libc.src.__support.math.exp10f
+ libc.src.__support.math.exp2f
----------------
nico wrote:
This looks pretty different from the deps you're removing over in libc/src/math/generic/CMakeLists.txt, that doesn't look quite right.
https://github.com/llvm/llvm-project/pull/176529
More information about the libc-commits
mailing list