diff options
Diffstat (limited to 'libc/src/math/generic/pow.cpp')
-rw-r--r-- | libc/src/math/generic/pow.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/libc/src/math/generic/pow.cpp b/libc/src/math/generic/pow.cpp index 43e99a7..c9f685b 100644 --- a/libc/src/math/generic/pow.cpp +++ b/libc/src/math/generic/pow.cpp @@ -7,7 +7,6 @@ //===----------------------------------------------------------------------===// #include "src/math/pow.h" -#include "common_constants.h" // Lookup tables EXP_M1 and EXP_M2. #include "hdr/errno_macros.h" #include "hdr/fenv_macros.h" #include "src/__support/CPP/bit.h" @@ -21,6 +20,8 @@ #include "src/__support/common.h" #include "src/__support/macros/config.h" #include "src/__support/macros/optimization.h" // LIBC_UNLIKELY +#include "src/__support/math/common_constants.h" // Lookup tables EXP_M1 and EXP_M2. +#include "src/__support/math/exp_constants.h" // Lookup tables EXP_M1 and EXP_M2. namespace LIBC_NAMESPACE_DECL { @@ -28,6 +29,8 @@ using fputil::DoubleDouble; namespace { +using namespace common_constants_internal; + // Constants for log2(x) range reduction, generated by Sollya with: // > for i from 0 to 127 do { // r = 2^-8 * ceil( 2^8 * (1 - 2^(-8)) / (1 + i*2^-7) ); |