Path: blob/main/contrib/llvm-project/libc/src/__support/math/ldexpf.h
213799 views
//===-- Implementation header for ldexpf ------------------------*- C++ -*-===//1//2// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.3// See https://llvm.org/LICENSE.txt for license information.4// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception5//6//===----------------------------------------------------------------------===//78#ifndef LLVM_LIBC_SRC___SUPPORT_MATH_LDEXPF_H9#define LLVM_LIBC_SRC___SUPPORT_MATH_LDEXPF_H1011#include "src/__support/FPUtil/ManipulationFunctions.h"12#include "src/__support/common.h"13#include "src/__support/macros/config.h"1415namespace LIBC_NAMESPACE_DECL {1617namespace math {1819static constexpr float ldexpf(float x, int exp) {20return fputil::ldexp(x, exp);21}2223} // namespace math2425} // namespace LIBC_NAMESPACE_DECL2627#endif // LLVM_LIBC_SRC___SUPPORT_MATH_LDEXPF_H282930