1//===----------------------------------------------------------------------===//
2//
3// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4// See https://llvm.org/LICENSE.txt for license information.
5// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
6//
7//===----------------------------------------------------------------------===//
8///
9/// \file
10/// Implementation header for exp2.
11///
12//===----------------------------------------------------------------------===//
13
14#ifndef LLVM_LIBC_SRC___SUPPORT_MATH_EXP2_H
15#define LLVM_LIBC_SRC___SUPPORT_MATH_EXP2_H
16
17#include "src/__support/common.h"
18#include "src/__support/macros/config.h"
19#include "src/__support/macros/optimization.h"
20
21#include "src/__support/math/exp2_double_eval.h"
22#define LIBC_MATH_EXP2_IMPL double_eval
23
24namespace LIBC_NAMESPACE_DECL {
25namespace math {
26
27using LIBC_MATH_EXP2_IMPL::exp2;
28
29} // namespace math
30} // namespace LIBC_NAMESPACE_DECL
31
32#undef LIBC_MATH_EXP2_IMPL
33
34#endif // LLVM_LIBC_SRC___SUPPORT_MATH_EXP2_H
35