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