diff options
Diffstat (limited to 'libc/src/math/generic/log.cpp')
-rw-r--r-- | libc/src/math/generic/log.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/libc/src/math/generic/log.cpp b/libc/src/math/generic/log.cpp index 0cd4424..66ce059 100644 --- a/libc/src/math/generic/log.cpp +++ b/libc/src/math/generic/log.cpp @@ -18,8 +18,8 @@ #include "src/__support/macros/config.h" #include "src/__support/macros/optimization.h" // LIBC_UNLIKELY -#include "common_constants.h" #include "log_range_reduction.h" +#include "src/__support/math/common_constants.h" namespace LIBC_NAMESPACE_DECL { @@ -30,6 +30,8 @@ using LIBC_NAMESPACE::operator""_u128; namespace { +using namespace common_constants_internal; + #ifndef LIBC_MATH_HAS_SKIP_ACCURATE_PASS // A simple upper bound for the error of e_x * log(2) - log(r). constexpr double HI_ERR = 0x1.0p-85; |