Refactors the fmod-modf math family to be header-only. part of: #147386 Target Functions: - fmod - fmodbf16 - fmodf - fmodf128 - fmodf16 - fmodl - modf - modfbf16 - modff - modff128 - modff16 - modfl
24 lines
688 B
C++
24 lines
688 B
C++
//===-- Shared modff function -----------------------------------*- C++ -*-===//
|
|
//
|
|
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
|
|
// See https://llvm.org/LICENSE.txt for license information.
|
|
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
|
|
//
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
#ifndef LLVM_LIBC_SHARED_MATH_MODFF_H
|
|
#define LLVM_LIBC_SHARED_MATH_MODFF_H
|
|
|
|
#include "shared/libc_common.h"
|
|
#include "src/__support/math/modff.h"
|
|
|
|
namespace LIBC_NAMESPACE_DECL {
|
|
namespace shared {
|
|
|
|
using math::modff;
|
|
|
|
} // namespace shared
|
|
} // namespace LIBC_NAMESPACE_DECL
|
|
|
|
#endif // LLVM_LIBC_SHARED_MATH_MODFF_H
|