diff options
| author | Mehdi Amini <joker.eph@gmail.com> | 2024-07-12 09:12:13 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-07-12 09:12:13 +0200 |
| commit | ce9035f5bd3aa09cbd899489cdbc7f6c18acf1e3 (patch) | |
| tree | 0f22897d7f178d7b3850db2397b4b59698336d26 /libc/src/math/generic/log.cpp | |
| parent | 37d3f44a58d0a2a2e8782266acd66a6733984842 (diff) | |
Revert "[libc] Migrate to using LIBC_NAMESPACE_DECL for namespace declaration" (#98593)
Reverts llvm/llvm-project#98075
bots are broken
Diffstat (limited to 'libc/src/math/generic/log.cpp')
| -rw-r--r-- | libc/src/math/generic/log.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/libc/src/math/generic/log.cpp b/libc/src/math/generic/log.cpp index 57c70e31730b..6de0d90be80e 100644 --- a/libc/src/math/generic/log.cpp +++ b/libc/src/math/generic/log.cpp @@ -15,13 +15,12 @@ #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_DECL { +namespace LIBC_NAMESPACE { // 128-bit precision dyadic floating point numbers. using Float128 = typename fputil::DyadicFloat<128>; @@ -838,4 +837,4 @@ LLVM_LIBC_FUNCTION(double, log, (double x)) { return log_accurate(x_e, index, u); } -} // namespace LIBC_NAMESPACE_DECL +} // namespace LIBC_NAMESPACE |
