[libc-commits] [libc] [llvm] [libc][math] Refactor log to header-only shared math (PR #175395)

Muhammad Bassiouni via libc-commits libc-commits at lists.llvm.org
Sat Jan 10 15:26:09 PST 2026


================
@@ -2870,6 +2870,23 @@ libc_support_library(
     ],
 )
 
+libc_support_library(
+    name = "__support_math_log",
+    hdrs = ["src/__support/math/log.h"],
+    deps = [
+        ":__support_fputil_double_double",
+        ":__support_fputil_dyadic_float",
+        ":__support_fputil_fma",
+        ":__support_fputil_multiply_add",
+        ":__support_fputil_polyeval",
+        ":__support_integer_literals",
+        ":__support_macros_optimization",
+        ":__support_macros_properties_cpu_features",
+        ":__support_math_common_constants",
+        ":log_range_reduction",
----------------
bassiounix wrote:

`log_range_reduction` should be ported as well.

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


More information about the libc-commits mailing list