[libc-commits] [libc] [llvm] [libc][math] Refactor hypotf16 to Header Only. (PR #180511)
Muhammad Bassiouni via libc-commits
libc-commits at lists.llvm.org
Fri Feb 13 21:49:03 PST 2026
================
@@ -7,85 +7,14 @@
//===----------------------------------------------------------------------===//
#include "src/math/hypotf16.h"
-#include "src/__support/FPUtil/FEnvImpl.h"
-#include "src/__support/FPUtil/FPBits.h"
-#include "src/__support/FPUtil/cast.h"
-#include "src/__support/FPUtil/multiply_add.h"
-#include "src/__support/FPUtil/sqrt.h"
-#include "src/__support/common.h"
-#include "src/__support/macros/optimization.h"
-#include "src/__support/macros/properties/types.h"
+#include "src/__support/math/hypotf16.h"
namespace LIBC_NAMESPACE_DECL {
// For targets where conversion from float to float16 has to be
// emulated, fputil::hypot<float16> is faster
----------------
bassiounix wrote:
Move this comment also with the rest of the code
https://github.com/llvm/llvm-project/pull/180511
More information about the libc-commits
mailing list