Path: blob/main/contrib/llvm-project/libc/src/__support/math/frexpf128.h
213799 views
//===-- Implementation header for expf --------------------------*- 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_FREXPF128_H9#define LLVM_LIBC_SRC___SUPPORT_MATH_FREXPF128_H1011#include "include/llvm-libc-types/float128.h"1213#ifdef LIBC_TYPES_HAS_FLOAT1281415#include "src/__support/FPUtil/ManipulationFunctions.h"16#include "src/__support/common.h"17#include "src/__support/macros/config.h"1819namespace LIBC_NAMESPACE_DECL {2021namespace math {2223static constexpr float128 frexpf128(float128 x, int *exp) {24return fputil::frexp(x, *exp);25}2627} // namespace math2829} // namespace LIBC_NAMESPACE_DECL3031#endif // LIBC_TYPES_HAS_FLOAT1283233#endif // LLVM_LIBC_SRC___SUPPORT_MATH_FREXPF128_H343536