#include "src/math/log2.h"
#include "src/__support/FPUtil/FEnvImpl.h"
#include "src/__support/FPUtil/FPBits.h"
#include "src/__support/FPUtil/PolyEval.h"
#include "src/__support/FPUtil/double_double.h"
#include "src/__support/FPUtil/dyadic_float.h"
#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"
#include "common_constants.h"
#include "log_range_reduction.h"
namespace LIBC_NAMESPACE_DECL {
Float128;
operator""_u128;
namespace {
constexpr fputil::DoubleDouble LOG2_E = …;
constexpr double P_ERR = …;
const fputil::DoubleDouble LOG_R1[128] = …;
alignas(64) constexpr LogRR LOG2_TABLE = …;
constexpr Float128 BIG_COEFFS[4]{ … };
double log2_accurate(int e_x, int index, double m_x) { … }
}
LLVM_LIBC_FUNCTION(double, log2, (double x)) { … }
}