[libc-commits] [libc] [llvm] [libc][math] Refactor ilogbf128 to Header Only (PR #175396)
Muhammad Bassiouni via libc-commits
libc-commits at lists.llvm.org
Sun Jan 11 14:53:28 PST 2026
================
@@ -10,11 +10,11 @@
#include "src/__support/FPUtil/ManipulationFunctions.h"
#include "src/__support/common.h"
#include "src/__support/macros/config.h"
-
+#include "lib/shared/math/ilogbf128.h"
namespace LIBC_NAMESPACE_DECL {
LLVM_LIBC_FUNCTION(int, ilogbf128, (float128 x)) {
- return fputil::intlogb<int>(x);
+ return shared::ilogbf128(x);
----------------
bassiounix wrote:
```suggestion
return math::ilogbf128(x);
```
https://github.com/llvm/llvm-project/pull/175396
More information about the libc-commits
mailing list