[libc-commits] [libc] [llvm] [libc][math] Move hypot to shared/math and make it constexpr (PR #177588)

Muhammad Bassiouni via libc-commits libc-commits at lists.llvm.org
Thu Jan 29 18:54:45 PST 2026


================
@@ -1082,6 +1082,15 @@ add_header_library(
     libc.src.__support.macros.optimization
 )
 
+add_header_library(
+  hypot
+  HDRS
+    hypot.h
+  DEPENDS
+    libc.src.__support.common
+    libc.src.__support.FPUtil.hypot
----------------
bassiounix wrote:

add config.h entry from the include

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


More information about the libc-commits mailing list