[libc-commits] [libc] [llvm] [libc][math] Implement C23 half precision pow function (PR #159906)
Muhammad Bassiouni via libc-commits
libc-commits at lists.llvm.org
Fri Jan 2 20:53:50 PST 2026
================
@@ -891,6 +891,28 @@ add_header_library(
libc.src.errno.errno
)
+
+add_header_library(
+ powf16
+ HDRS
+ powf16.h
+ DEPENDS
+ .common_constants
+ libc.hdr.errno_macros
+ libc.hdr.fenv_macros
+ libc.src.__support.CPP.bit
+ libc.src.__support.FPUtil.fenv_impl
+ libc.src.__support.FPUtil.fp_bits
+ libc.src.__support.FPUtil.polyeval
+ libc.src.__support.FPUtil.cast
+ libc.src.__support.FPUtil.multiply_add
+ libc.src.__support.FPUtil.nearest_integer
+ libc.src.__support.FPUtil.sqrt
+ libc.src.__support.macros.optimization
+ libc.src.__support.math.exp10f_utils
+ libc.src.__support.math.common_constants
----------------
bassiounix wrote:
`libc.src.__support.math.common_constants` can be shortened to `.common_constants` since it's in the same CMake module.
https://github.com/llvm/llvm-project/pull/159906
More information about the libc-commits
mailing list