[libc-commits] [libc] [llvm] [libc][math] Move hypot to shared/math and make it constexpr (PR #177588)
Nico Weber via libc-commits
libc-commits at lists.llvm.org
Mon Jan 26 06:21:25 PST 2026
================
@@ -994,6 +994,21 @@ add_header_library(
libc.src.__support.macros.optimization
)
+add_header_library(
+ hypot
+ HDRS
+ hypot.h
+ DEPENDS
+ libc.src.__support.common
+ libc.src.__support.FPUtil.fp_bits
+ libc.src.__support.FPUtil.fenv_impl
+ libc.src.__support.FPUtil.rounding_mode
+ libc.src.__support.FPUtil.basic_operations
+ libc.src.__support.CPP.type_traits
+ libc.src.__support.CPP.bit
+ libc.src.__support.uint128
----------------
nico wrote:
How did you come up with all these deps? Below, the target only had `libc.src.__support.FPUtil.hypot` as dep.
https://github.com/llvm/llvm-project/pull/177588
More information about the libc-commits
mailing list