[libc-commits] [libc] [llvm] [libc] Modify Exponent decomposition functions to work with emulated Float128 (PR #221540)

via libc-commits libc-commits at lists.llvm.org
Sun Sep 6 01:30:42 PDT 2026


================
@@ -21,12 +18,14 @@ namespace LIBC_NAMESPACE_DECL {
 
 namespace math {
 
-LIBC_INLINE constexpr float128 logbf128(float128 x) { return fputil::logb(x); }
+using LIBC_NAMESPACE::fputil::Float128;
+
+LIBC_INLINE constexpr Float128 logbf128(Float128 x) { 
+    return fputil::logb(x); 
+}
----------------
Hari-Shankar-Karthik wrote:

Will do so.

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


More information about the libc-commits mailing list