1b5efd214SOverMighty //===-- Implementation of ldexpf16 function -------------------------------===// 2b5efd214SOverMighty // 3b5efd214SOverMighty // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. 4b5efd214SOverMighty // See https://llvm.org/LICENSE.txt for license information. 5b5efd214SOverMighty // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 6b5efd214SOverMighty // 7b5efd214SOverMighty //===----------------------------------------------------------------------===// 8b5efd214SOverMighty 9b5efd214SOverMighty #include "src/math/ldexpf16.h" 10b5efd214SOverMighty #include "src/__support/FPUtil/ManipulationFunctions.h" 11b5efd214SOverMighty #include "src/__support/common.h" 12*5ff3ff33SPetr Hosek #include "src/__support/macros/config.h" 13b5efd214SOverMighty 14*5ff3ff33SPetr Hosek namespace LIBC_NAMESPACE_DECL { 15b5efd214SOverMighty 16b5efd214SOverMighty LLVM_LIBC_FUNCTION(float16, ldexpf16, (float16 x, int exp)) { 17b5efd214SOverMighty return fputil::ldexp(x, exp); 18b5efd214SOverMighty } 19b5efd214SOverMighty 20*5ff3ff33SPetr Hosek } // namespace LIBC_NAMESPACE_DECL 21