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

Nico Weber via libc-commits libc-commits at lists.llvm.org
Tue Jan 27 05:17:35 PST 2026


================
@@ -3507,6 +3507,17 @@ libc_support_library(
     ],
 )
 
+libc_support_library(
+    name = "__support_math_sinf16",
+    hdrs = ["src/__support/math/sinf16.h"],
+    deps = [
+        ":__support_fputil_nearest_integer",
+        ":__support_fputil_polyeval",
+        ":__support_math_sincosf16_utils",
+        ":llvm_libc_macros_float16_macros",
----------------
nico wrote:

Per utils/bazel/README.md / https://llvm.org/docs/SupportPolicy.html#peripheral-tier, the bazel build is not supported. If the existing bazel files are missing so much stuff (I'm just moving things around and putting in a best effort), I feel it's not my job to fix them up. The other bots are happy.

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


More information about the libc-commits mailing list