[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:26 PST 2026


================
@@ -2957,6 +2957,26 @@ libc_support_library(
     ],
 )
 
+libc_support_library(
+    name = "__support_math_pow",
+    hdrs = ["src/__support/math/pow.h"],
+    deps = [
+        ":__support_cpp_bit",
+        ":__support_fputil_double_double",
+        ":__support_fputil_fenv_impl",
+        ":__support_fputil_fp_bits",
+        ":__support_fputil_multiply_add",
+        ":__support_fputil_nearest_integer",
+        ":__support_fputil_polyeval",
+        ":__support_fputil_sqrt",
+        ":__support_fputil_triple_double",
+        ":__support_macros_optimization",
+        ":__support_math_common_constants",
+        ":__support_math_exp10f",
----------------
nico wrote:

Similar to above, this looks like too many deps

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


More information about the libc-commits mailing list