[libc-commits] [libc] [libc][math] Implement correctly rounded double precision tan (PR #97489)
Joseph Huber via libc-commits
libc-commits at lists.llvm.org
Wed Jul 3 11:38:59 PDT 2024
================
@@ -323,6 +323,27 @@ add_entrypoint_object(
-O3
)
+add_entrypoint_object(
+ tan
+ SRCS
+ tan.cpp
+ HDRS
+ ../tan.h
+ DEPENDS
+ .range_reduction_double
+ libc.hdr.errno_macros
+ libc.src.errno.errno
+ libc.src.__support.FPUtil.double_double
+ libc.src.__support.FPUtil.dyadic_float
+ libc.src.__support.FPUtil.except_value_utils
+ libc.src.__support.FPUtil.fenv_impl
+ libc.src.__support.FPUtil.fp_bits
+ libc.src.__support.FPUtil.multiply_add
+ libc.src.__support.macros.optimization
+ COMPILE_OPTIONS
+ -O3
----------------
jhuber6 wrote:
We don't do debug builds at all for math, right? I think normally a release build is `O2` so it makes sense to override to `O3` in that case.
https://github.com/llvm/llvm-project/pull/97489
More information about the libc-commits
mailing list