[libc-commits] [libc] [libc][math] Implement double precision cbrt correctly rounded to all rounding modes. (PR #99262)
via libc-commits
libc-commits at lists.llvm.org
Wed Jul 17 09:08:40 PDT 2024
================
@@ -4180,3 +4180,19 @@ add_entrypoint_object(
libc.src.__support.FPUtil.multiply_add
libc.src.__support.macros.optimization
)
+
+add_entrypoint_object(
+ cbrt
+ SRCS
+ cbrt.cpp
+ HDRS
+ ../cbrt.h
+ COMPILE_OPTIONS
+ -O3
+ DEPENDS
+ libc.hdr.fenv_macros
+ libc.src.__support.FPUtil.fenv_impl
+ libc.src.__support.FPUtil.fp_bits
+ libc.src.__support.FPUtil.multiply_add
+ libc.src.__support.macros.optimization
----------------
lntue wrote:
Done.
https://github.com/llvm/llvm-project/pull/99262
More information about the libc-commits
mailing list