diff options
Diffstat (limited to 'libc/src/math/generic/log1p.cpp')
-rw-r--r-- | libc/src/math/generic/log1p.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/libc/src/math/generic/log1p.cpp b/libc/src/math/generic/log1p.cpp index 09f465a..1595981 100644 --- a/libc/src/math/generic/log1p.cpp +++ b/libc/src/math/generic/log1p.cpp @@ -18,7 +18,7 @@ #include "src/__support/macros/config.h" #include "src/__support/macros/optimization.h" // LIBC_UNLIKELY -#include "common_constants.h" +#include "src/__support/math/common_constants.h" namespace LIBC_NAMESPACE_DECL { @@ -29,6 +29,8 @@ using LIBC_NAMESPACE::operator""_u128; namespace { +using namespace common_constants_internal; + // R1[i] = 2^-8 * nearestint( 2^8 / (1 + i * 2^-7) ) constexpr double R1[129] = { 0x1p0, 0x1.fcp-1, 0x1.f8p-1, 0x1.f4p-1, 0x1.fp-1, 0x1.ecp-1, 0x1.eap-1, |