Ticket #8855: math.patch
File math.patch, 2.5 KB (added by , 9 years ago) |
---|
-
boost/math/special_functions/airy.hpp
340 340 inline T airy_ai_zero(unsigned m, const Policy& pol) 341 341 { 342 342 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;350 343 BOOST_STATIC_ASSERT_MSG(false == std::numeric_limits<T>::is_integer, "Airy return type must be a floating-point type."); 351 344 return policies::checked_narrowing_cast<T, Policy>(detail::airy_ai_zero_imp<T>(m, pol), "boost::math::airy_ai_zero<%1%>(unsigned)"); 352 345 } … … 388 381 inline T airy_bi_zero(unsigned m, const Policy& pol) 389 382 { 390 383 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;398 384 BOOST_STATIC_ASSERT_MSG(false == std::numeric_limits<T>::is_integer, "Airy return type must be a floating-point type."); 399 385 return policies::checked_narrowing_cast<T, Policy>(detail::airy_bi_zero_imp<T>(m, pol), "boost::math::airy_bi_zero<%1%>(unsigned)"); 400 386 } -
boost/math/special_functions/beta.hpp
1331 1331 BOOST_FPU_EXCEPTION_GUARD 1332 1332 typedef typename tools::promote_args<RT1, RT2, RT3>::type result_type; 1333 1333 typedef typename policies::evaluation<result_type, Policy>::type value_type; 1334 typedef typename lanczos::lanczos<value_type, Policy>::type evaluation_type;1335 1334 typedef typename policies::normalise< 1336 1335 Policy, 1337 1336 policies::promote_float<false>, … … 1349 1348 BOOST_FPU_EXCEPTION_GUARD 1350 1349 typedef typename tools::promote_args<RT1, RT2, RT3>::type result_type; 1351 1350 typedef typename policies::evaluation<result_type, Policy>::type value_type; 1352 typedef typename lanczos::lanczos<value_type, Policy>::type evaluation_type;1353 1351 typedef typename policies::normalise< 1354 1352 Policy, 1355 1353 policies::promote_float<false>,