17 lines · cpp
1//===-- Half-precision 2^x function ---------------------------------------===//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-exception6//7//===----------------------------------------------------------------------===//8 9#include "src/math/exp2f16.h"10#include "src/__support/math/exp2f16.h"11 12namespace LIBC_NAMESPACE_DECL {13 14LLVM_LIBC_FUNCTION(float16, exp2f16, (float16 x)) { return math::exp2f16(x); }15 16} // namespace LIBC_NAMESPACE_DECL17