[libc-commits] [libc] [llvm] [libc][math] Refactor logf16 to header-only shared math (PR #175408)
Muhammad Bassiouni via libc-commits
libc-commits at lists.llvm.org
Mon Jan 19 07:34:20 PST 2026
================
@@ -595,20 +595,40 @@ add_header_library(
)
add_header_library(
- frexpf128
+ fsqrt
HDRS
- frexpf128.h
+ fsqrt.h
DEPENDS
- libc.src.__support.macros.properties.types
- libc.src.__support.FPUtil.manipulation_functions
+ libc.src.__support.FPUtil.generic.sqrt
)
add_header_library(
- fsqrt
+ logf16
HDRS
- fsqrt.h
+ logf16.h
DEPENDS
- libc.src.__support.FPUtil.generic.sqrt
+ .expxf16_utils
+ libc.hdr.errno_macros
+ libc.hdr.fenv_macros
+ libc.src.__support.common
+ libc.src.__support.FPUtil.cast
+ 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.FPUtil.poly_eval
+ libc.src.__support.macros.config
+ libc.src.__support.macros.optimization
+ libc.src.__support.macros.properties.cpu_features
+)
+
+add_header_library(
+ frexpf128
+ HDRS
+ frexpf128.h
+ DEPENDS
+ libc.src.__support.macros.properties.types
+ libc.src.__support.FPUtil.manipulation_functions
----------------
bassiounix wrote:
Please leave everything as is and maintain the alphabetical order of your changes.
Don't move things around.
https://github.com/llvm/llvm-project/pull/175408
More information about the libc-commits
mailing list