[libc-commits] [libc] [llvm] [libc][math][c23] Add exp10bf16 math function (PR #193299)

via libc-commits libc-commits at lists.llvm.org
Sun May 3 06:18:38 PDT 2026


================
@@ -1032,6 +1032,21 @@ add_header_library(
     libc.src.__support.FPUtil.generic.sqrt
 )
 
+add_header_library(
+  exp10bf16
+  HDRS
+    exp10bf16.h
+  DEPENDS
+    libc.src.__support.FPUtil.cast
+    libc.src.__support.FPUtil.bfloat16
+    libc.src.__support.FPUtil.fenv_impl
+    libc.src.__support.FPUtil.fp_bits
+    libc.src.__support.FPUtil.manipulation_functions
+    libc.src.__support.FPUtil.polyeval
+    libc.src.__support.FPUtil.multiply_add
----------------
Sukumarsawant wrote:

Is `multiply_add` needed ? Since we have used it in `libc/src/__support/math/exp10bf16.h` in neither the include nor implementation.

Similarly could be removed for `bazel` dependencies. You can have someone confirm this .

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


More information about the libc-commits mailing list