[libc-commits] [libc] [llvm] [libc][math][c23] Improve rsqrtf16 function for targets without fp32 FPUs. (PR #160639)
via libc-commits
libc-commits at lists.llvm.org
Mon Jun 15 08:02:34 PDT 2026
================
@@ -24,6 +24,237 @@
namespace LIBC_NAMESPACE_DECL {
namespace math {
+namespace rsqrtf16_internal {
+
+using FPBits = fputil::FPBits<float16>;
----------------
lntue wrote:
Las nit: Do you mind you either wrapping this under `#ifndef LIBC_TARGET_CPU_HAS_FPU_FLOAT`, or moving this to `rsqrtf16_no_float.h`?
https://github.com/llvm/llvm-project/pull/160639
More information about the libc-commits
mailing list