[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 Feb 19 13:55:31 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:

Why are you modifying `hypotf16`?

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


More information about the libc-commits mailing list