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


================
@@ -3458,6 +3345,21 @@ libc_support_library(
     ],
 )
 
+libc_support_library(
+    name = "src___support_math_hypot",
+    hdrs = ["src/__support/math/hypot.h"],
+    deps = [
+        ":src___support_common",
+        ":src___support_cpp_bit",
+        ":src___support_cpp_type_traits",
+        ":src___support_fp_util_basic_operations",
+        ":src___support_fp_util_fenv_impl",
+        ":src___support_fp_util_fp_bits",
+        ":src___support_fp_util_rounding_mode",
+        ":src___support_uint128",
+    ],
----------------
bassiounix wrote:

Nope, you have to update this.
Also, you have to remove `src` from the beginning of the dep name

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


More information about the libc-commits mailing list