summaryrefslogtreecommitdiff
path: root/libc/src/math/generic/cos.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'libc/src/math/generic/cos.cpp')
-rw-r--r--libc/src/math/generic/cos.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/libc/src/math/generic/cos.cpp b/libc/src/math/generic/cos.cpp
index 0eb6d9d6a6de..dbfeec70d83a 100644
--- a/libc/src/math/generic/cos.cpp
+++ b/libc/src/math/generic/cos.cpp
@@ -14,6 +14,7 @@
#include "src/__support/FPUtil/dyadic_float.h"
#include "src/__support/FPUtil/except_value_utils.h"
#include "src/__support/common.h"
+#include "src/__support/macros/config.h"
#include "src/__support/macros/optimization.h" // LIBC_UNLIKELY
#include "src/__support/macros/properties/cpu_features.h" // LIBC_TARGET_CPU_HAS_FMA
#include "src/math/generic/sincos_eval.h"
@@ -48,7 +49,7 @@ LIBC_INLINE constexpr bool NO_FMA = true;
#define LIBC_MATH_COS_SKIP_ACCURATE_PASS
#endif
-namespace LIBC_NAMESPACE {
+namespace LIBC_NAMESPACE_DECL {
using DoubleDouble = fputil::DoubleDouble;
using Float128 = typename fputil::DyadicFloat<128>;
@@ -194,4 +195,4 @@ LLVM_LIBC_FUNCTION(double, cos, (double x)) {
#endif // !LIBC_MATH_COS_SKIP_ACCURATE_PASS
}
-} // namespace LIBC_NAMESPACE
+} // namespace LIBC_NAMESPACE_DECL