[libc-commits] [libc] [llvm] [libc][math][c23] Add rsqrtf() function (PR #159615)
Anton Shepelev via libc-commits
libc-commits at lists.llvm.org
Sat Oct 4 09:05:27 PDT 2025
================
@@ -2296,6 +2296,19 @@ libc_support_library(
],
)
+libc_support_library(
+ name = "__support_math_rsqrtf",
+ hdrs = ["src/__support/math/rsqrtf.h"],
+ deps = [
+ ":__support_fputil_cast",
+ ":__support_fputil_fenv_impl",
+ ":__support_fputil_fp_bits",
----------------
amemov wrote:
Why did you remove cast? If I understand correctly, here in the bazel it should add the same dependencies as CMake in libc/src/__support/math , which are:
libc.hdr.errno_macros
libc.hdr.fenv_macros
libc.src.__support.FPUtil.cast
libc.src.__support.FPUtil.fenv_impl
libc.src.__support.FPUtil.fp_bits
libc.src.__support.FPUtil.sqrt
libc.src.__support.macros.optimization
https://github.com/llvm/llvm-project/pull/159615
More information about the libc-commits
mailing list