Skip to content

Commit

Permalink
Merge pull request #1146 from quxflux/quxflux-patch-1
Browse files Browse the repository at this point in the history
Make boost::math::ccmath::fminf and boost::math::ccmath::fminl constexpr
  • Loading branch information
mborland authored Jun 14, 2024
2 parents 70cdb37 + dff806a commit c5dc6c7
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 c5dc6c7

Please sign in to comment.