summaryrefslogtreecommitdiff
path: root/libc/src/math/generic/exp2.cpp
blob: 20e1ff5fa43a761435682a63e2457e7f8fa8e01f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
//===-- Double-precision 2^x function -------------------------------------===//
//
// 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 "src/math/exp2.h"
#include "src/__support/math/exp2.h"

namespace LIBC_NAMESPACE_DECL {

LLVM_LIBC_FUNCTION(double, exp2, (double x)) { return math::exp2(x); }

} // namespace LIBC_NAMESPACE_DECL