[libc-commits] [libc] [libc] fix build errors caused by cbrt. (PR #151879)

via libc-commits libc-commits at lists.llvm.org
Sun Aug 3 11:15:23 PDT 2025


llvmbot wrote:


<!--LLVM PR SUMMARY COMMENT-->

@llvm/pr-subscribers-libc

Author: Muhammad Bassiouni (bassiounix)

<details>
<summary>Changes</summary>



---
Full diff: https://github.com/llvm/llvm-project/pull/151879.diff


1 Files Affected:

- (modified) libc/src/__support/math/cbrt.h (-1) 


``````````diff
diff --git a/libc/src/__support/math/cbrt.h b/libc/src/__support/math/cbrt.h
index 2b9a73c823b14..360e68aafb75d 100644
--- a/libc/src/__support/math/cbrt.h
+++ b/libc/src/__support/math/cbrt.h
@@ -146,7 +146,6 @@ LIBC_INLINE static constexpr double get_error(const DoubleDouble &x_3,
 
 LIBC_INLINE static constexpr double cbrt(double x) {
   using DoubleDouble = fputil::DoubleDouble;
-  using Float128 = fputil::DyadicFloat<128>;
   using namespace cbrt_internal;
   using FPBits = fputil::FPBits<double>;
 

``````````

</details>


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


More information about the libc-commits mailing list