[libc-commits] [libc] [llvm] [libc][math] Refactor tan implementation to header-only in src/__support/math folder. (PR #177224)

Muhammad Bassiouni via libc-commits libc-commits at lists.llvm.org
Fri Jan 23 09:03:43 PST 2026


================
@@ -1234,3 +1234,19 @@ add_header_library(
     libc.src.__support.macros.config
 )
 
+add_header_library(
+  tan
+  HDRS
+    tan.h
+  DEPENDS
+    .range_reduction_double
+    libc.hdr.errno_macros
+    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
+    libc.src.errno.errno
----------------
bassiounix wrote:

```suggestion
```

https://github.com/llvm/llvm-project/pull/177224


More information about the libc-commits mailing list