Skip to content

Commit

Permalink
make boost::math::ccmath::fminf and boost::math::ccmath::fminl constexpr
Browse files Browse the repository at this point in the history
  • Loading branch information
quxflux authored Jun 14, 2024
1 parent 70cdb37 commit dff806a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions include/boost/math/ccmath/fmin.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -72,13 +72,13 @@ constexpr auto fmin(T1 x, T2 y) noexcept
}
}

float fminf(float x, float y) noexcept
constexpr float fminf(float x, float y) noexcept
{
return boost::math::ccmath::fmin(x, y);
}

#ifndef BOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS
long double fminl(long double x, long double y) noexcept
constexpr long double fminl(long double x, long double y) noexcept
{
return boost::math::ccmath::fmin(x, y);
}
Expand Down

0 comments on commit dff806a

Please sign in to comment.