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