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


================
@@ -13,6 +12,7 @@
 #include "src/__support/macros/config.h"
 #include "src/__support/macros/optimization.h" // LIBC_UNLIKELY
 #include "src/__support/math/common_constants.h"
+#include "src/math/generic/log_range_reduction.h"
----------------
bassiounix wrote:

Move `log_range_reduction.h` from `src/math/generic` to `src/__support/math` as you did with `log.h` then modify the dependent code accordingly.

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


More information about the libc-commits mailing list