diff options
Diffstat (limited to 'src/math/generic/ilogb.cpp')
-rw-r--r-- | src/math/generic/ilogb.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/math/generic/ilogb.cpp b/src/math/generic/ilogb.cpp index 4e5f7d9642b4..7e4f66970c5d 100644 --- a/src/math/generic/ilogb.cpp +++ b/src/math/generic/ilogb.cpp @@ -12,6 +12,6 @@ namespace LIBC_NAMESPACE { -LLVM_LIBC_FUNCTION(int, ilogb, (double x)) { return fputil::ilogb(x); } +LLVM_LIBC_FUNCTION(int, ilogb, (double x)) { return fputil::intlogb<int>(x); } } // namespace LIBC_NAMESPACE |