[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:31:32 PDT 2026
================
@@ -7,12 +7,16 @@
//===----------------------------------------------------------------------===//
#include "src/math/logbf128.h"
+#include "src/__support/CPP/bit.h"
#include "src/__support/math/logbf128.h"
namespace LIBC_NAMESPACE_DECL {
+using LIBC_NAMESPACE::fputil::Float128;
+
LLVM_LIBC_FUNCTION(float128, logbf128, (float128 x)) {
- return math::logbf128(x);
+ return cpp::bit_cast<Float128>(
----------------
Hari-Shankar-Karthik wrote:
Sorry, this was a silly error. Will fix it.
https://github.com/llvm/llvm-project/pull/221540
More information about the libc-commits
mailing list