summaryrefslogtreecommitdiff
path: root/libc/src/math/generic/log2.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'libc/src/math/generic/log2.cpp')
-rw-r--r--libc/src/math/generic/log2.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/libc/src/math/generic/log2.cpp b/libc/src/math/generic/log2.cpp
index c68bc60e8468..7d868e2f6f61 100644
--- a/libc/src/math/generic/log2.cpp
+++ b/libc/src/math/generic/log2.cpp
@@ -15,12 +15,13 @@
#include "src/__support/FPUtil/multiply_add.h"
#include "src/__support/common.h"
#include "src/__support/integer_literals.h"
+#include "src/__support/macros/config.h"
#include "src/__support/macros/optimization.h" // LIBC_UNLIKELY
#include "common_constants.h"
#include "log_range_reduction.h"
-namespace LIBC_NAMESPACE {
+namespace LIBC_NAMESPACE_DECL {
// 128-bit precision dyadic floating point numbers.
using Float128 = typename fputil::DyadicFloat<128>;
@@ -959,4 +960,4 @@ LLVM_LIBC_FUNCTION(double, log2, (double x)) {
return log2_accurate(x_e, index, u);
}
-} // namespace LIBC_NAMESPACE
+} // namespace LIBC_NAMESPACE_DECL