Ticket #8855: math.patch

File math.patch, 2.5 KB (added by Chris Stylianou <chris5287@…>, 9 years ago)
  • boost/math/special_functions/airy.hpp

     
    340340inline T airy_ai_zero(unsigned m, const Policy& pol)
    341341{
    342342   BOOST_FPU_EXCEPTION_GUARD
    343    typedef typename policies::evaluation<T, Policy>::type value_type;
    344    typedef typename policies::normalise<
    345       Policy,
    346       policies::promote_float<false>,
    347       policies::promote_double<false>,
    348       policies::discrete_quantile<>,
    349       policies::assert_undefined<> >::type forwarding_policy;
    350343   BOOST_STATIC_ASSERT_MSG(false == std::numeric_limits<T>::is_integer, "Airy return type must be a floating-point type.");
    351344   return policies::checked_narrowing_cast<T, Policy>(detail::airy_ai_zero_imp<T>(m, pol), "boost::math::airy_ai_zero<%1%>(unsigned)");
    352345}
     
    388381inline T airy_bi_zero(unsigned m, const Policy& pol)
    389382{
    390383   BOOST_FPU_EXCEPTION_GUARD
    391    typedef typename policies::evaluation<T, Policy>::type value_type;
    392    typedef typename policies::normalise<
    393       Policy,
    394       policies::promote_float<false>,
    395       policies::promote_double<false>,
    396       policies::discrete_quantile<>,
    397       policies::assert_undefined<> >::type forwarding_policy;
    398384   BOOST_STATIC_ASSERT_MSG(false == std::numeric_limits<T>::is_integer, "Airy return type must be a floating-point type.");
    399385   return policies::checked_narrowing_cast<T, Policy>(detail::airy_bi_zero_imp<T>(m, pol), "boost::math::airy_bi_zero<%1%>(unsigned)");
    400386}
  • boost/math/special_functions/beta.hpp

     
    13311331   BOOST_FPU_EXCEPTION_GUARD
    13321332   typedef typename tools::promote_args<RT1, RT2, RT3>::type result_type;
    13331333   typedef typename policies::evaluation<result_type, Policy>::type value_type;
    1334    typedef typename lanczos::lanczos<value_type, Policy>::type evaluation_type;
    13351334   typedef typename policies::normalise<
    13361335      Policy,
    13371336      policies::promote_float<false>,
     
    13491348   BOOST_FPU_EXCEPTION_GUARD
    13501349   typedef typename tools::promote_args<RT1, RT2, RT3>::type result_type;
    13511350   typedef typename policies::evaluation<result_type, Policy>::type value_type;
    1352    typedef typename lanczos::lanczos<value_type, Policy>::type evaluation_type;
    13531351   typedef typename policies::normalise<
    13541352      Policy,
    13551353      policies::promote_float<false>,