[libc] [llvm] [libc][math] Refactor cos implementation to header-only in src/__support/math folder. (PR #151883)
via llvm-commits
llvm-commits at lists.llvm.org
Fri Aug 8 09:59:28 PDT 2025
================
@@ -357,6 +357,24 @@ add_header_library(
libc.src.__support.macros.optimization
)
+add_header_library(
+ cos
+ HDRS
+ cos.h
+ DEPENDS
+ libc.src.__support.math.sincos_eval
+ libc.hdr.errno_macros
+ libc.src.errno.errno
+ libc.src.__support.FPUtil.double_double
----------------
lntue wrote:
nit: reorder dependency list.
https://github.com/llvm/llvm-project/pull/151883
More information about the llvm-commits
mailing list