[libc-commits] [libc] [llvm] [libc][math] Refactor sqrt to header-only (PR #178335)

Muhammad Bassiouni via libc-commits libc-commits at lists.llvm.org
Wed Jan 28 15:57:16 PST 2026


================
@@ -7,12 +7,9 @@
 //===----------------------------------------------------------------------===//
 
 #include "src/math/sqrt.h"
-#include "src/__support/FPUtil/sqrt.h"
-#include "src/__support/common.h"
-#include "src/__support/macros/config.h"
-
+#include "src/__support/math/sqrt.h"
 namespace LIBC_NAMESPACE_DECL {
----------------
bassiounix wrote:

```suggestion
#include "src/__support/math/sqrt.h"

namespace LIBC_NAMESPACE_DECL {
```

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


More information about the libc-commits mailing list