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

Muhammad Bassiouni via libc-commits libc-commits at lists.llvm.org
Fri Jan 9 09:34:40 PST 2026


================
@@ -3176,6 +3176,18 @@ libc_support_library(
     ],
 )
 
+libc_support_library(
+    name = "__support_math_sin",
+    hdrs = ["src/__support/math/sin.h"],
+    deps = [
+        ":__support_fputil_multiply_add",
+        ":__support_macros_optimization",
+        ":__support_macros_properties_cpu_features",
+        ":__support_range_reduction_double",
+        ":__support_sincos_eval",
+    ],
+)
+
----------------
bassiounix wrote:

Remove from here and add suggestion above.
```suggestion

```

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


More information about the libc-commits mailing list