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

Chinmay Ingle via libc-commits libc-commits at lists.llvm.org
Tue Jan 27 04:49:19 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",
+    ],
----------------
chinmayingle wrote:

the new dependencies are consistent in the dependency files please check it once thanks!

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


More information about the libc-commits mailing list