Mohamed Emad b19d21a1e5
[libc][math] Refactor fmax family to header-only (#182165)
Refactors the fmax math family to be header-only.

Closes https://github.com/llvm/llvm-project/issues/182164

Target Functions:
  - fmax
  - fmaxbf16
  - fmaxf
  - fmaxf128
  - fmaxf16
  - fmaxl
2026-02-19 23:40:52 +00:00

23 lines
651 B
C++

//===-- Shared fmax 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_FMAX_H
#define LLVM_LIBC_SHARED_MATH_FMAX_H
#include "src/__support/math/fmax.h"
namespace LIBC_NAMESPACE_DECL {
namespace shared {
using math::fmax;
} // namespace shared
} // namespace LIBC_NAMESPACE_DECL
#endif // LLVM_LIBC_SHARED_MATH_FMAX_H