llvm/libc/src/math/generic/explogxf.cpp

//===-- Single-precision general exp/log functions ------------------------===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
//
//===----------------------------------------------------------------------===//

#include "explogxf.h"
#include "src/__support/macros/config.h"

namespace LIBC_NAMESPACE_DECL {

// N[Table[Log[2, 1 + x], {x, 0/64, 63/64, 1/64}], 40]
alignas(64) const double LOG_P1_LOG2[LOG_P1_SIZE] =;

// N[Table[1/(1 + x), {x, 0/64, 63/64, 1/64}], 40]
alignas(64) const double LOG_P1_1_OVER[LOG_P1_SIZE] =;

// Taylos series expansion for Log[2, 1 + x] splitted to EVEN AND ODD numbers
// K_LOG2_ODD starts from x^3
alignas(64) const
    double K_LOG2_ODD[4] =;

alignas(64) const
    double K_LOG2_EVEN[4] =;

} // namespace LIBC_NAMESPACE_DECL