Skip to content
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
Add helper for evaluation type
  • Loading branch information
mborland committed Aug 14, 2025
commit ae8b03700c91f67a9b30e6aa9714d6e34c6ac21a
3 changes: 3 additions & 0 deletions include/boost/math/policies/policy.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -766,6 +766,9 @@ struct evaluation<double, Policy>
using type = typename boost::math::conditional<Policy::promote_double_type::value, long double, double>::type;
};

template <class Real, class Policy>
using evaluation_t = typename evaluation<Real, Policy>::type;

template <class Real, class Policy>
struct precision
{
Expand Down