3#ifndef TETL_CMATH_FMAX_HPP
4#define TETL_CMATH_FMAX_HPP
6#include <etl/_3rd_party/gcem/gcem.hpp>
17[[nodiscard]]
constexpr auto fmax(
float x,
float y)
noexcept ->
float {
return etl::detail::gcem::max(x, y); }
19[[nodiscard]]
constexpr auto fmaxf(
float x,
float y)
noexcept ->
float {
return etl::detail::gcem::max(x, y); }
21[[nodiscard]]
constexpr auto fmax(
double x,
double y)
noexcept ->
double {
return etl::detail::gcem::max(x, y); }
23[[nodiscard]]
constexpr auto fmax(
long double x,
long double y)
noexcept ->
long double
25 return etl::detail::gcem::max(x, y);
28[[nodiscard]]
constexpr auto fmaxl(
long double x,
long double y)
noexcept ->
long double
30 return etl::detail::gcem::max(x, y);
constexpr auto fmaxf(float x, float y) noexcept -> float
Returns the larger of two floating point arguments, treating NaNs as missing data (between a NaN and ...
Definition fmax.hpp:19
constexpr auto fmax(float x, float y) noexcept -> float
Returns the larger of two floating point arguments, treating NaNs as missing data (between a NaN and ...
Definition fmax.hpp:17
constexpr auto fmaxl(long double x, long double y) noexcept -> long double
Returns the larger of two floating point arguments, treating NaNs as missing data (between a NaN and ...
Definition fmax.hpp:28
Definition adjacent_find.hpp:8