3#ifndef TETL_CMATH_FMIN_HPP
4#define TETL_CMATH_FMIN_HPP
6#include <etl/_3rd_party/gcem/gcem.hpp>
18[[nodiscard]]
constexpr auto fmin(
float x,
float y)
noexcept ->
float {
return etl::detail::gcem::min(x, y); }
20[[nodiscard]]
constexpr auto fminf(
float x,
float y)
noexcept ->
float {
return etl::detail::gcem::min(x, y); }
22[[nodiscard]]
constexpr auto fmin(
double x,
double y)
noexcept ->
double {
return etl::detail::gcem::min(x, y); }
24[[nodiscard]]
constexpr auto fmin(
long double x,
long double y)
noexcept ->
long double
26 return etl::detail::gcem::min(x, y);
29[[nodiscard]]
constexpr auto fminl(
long double x,
long double y)
noexcept ->
long double
31 return etl::detail::gcem::min(x, y);
constexpr auto fminl(long double x, long double y) noexcept -> long double
Returns the smaller of two floating point arguments, treating NaNs as missing data (between a NaN and...
Definition fmin.hpp:29
constexpr auto fmin(float x, float y) noexcept -> float
Returns the smaller of two floating point arguments, treating NaNs as missing data (between a NaN and...
Definition fmin.hpp:18
constexpr auto fminf(float x, float y) noexcept -> float
Returns the smaller of two floating point arguments, treating NaNs as missing data (between a NaN and...
Definition fmin.hpp:20
Definition adjacent_find.hpp:8