Re: [Boost-bugs] [Boost C++ Libraries] #9126: Logistic distribution pdf() and cdf(complement()) fail to catch invalid scale and location parameters

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #9126: Logistic distribution pdf() and cdf(complement()) fail to catch invalid scale and location parameters
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2013-09-20 16:01:53


#9126: Logistic distribution pdf() and cdf(complement()) fail to catch invalid
scale and location parameters
---------------------------------------+----------------------
  Reporter: Paul McClellan <paulm@…> | Owner: pbristow
      Type: Bugs | Status: assigned
 Milestone: Boost 1.55.0 | Component: math
   Version: Boost 1.54.0 | Severity: Problem
Resolution: | Keywords:
---------------------------------------+----------------------

Comment (by Paul McClellan <paulm@…>):

 I apologize, I should have included my user.hpp settings. I've tried to
 attach my user.hpp file but Trac rejects it as spam. I've included the
 relevant portions here:


 {{{
 //
 // Default policies follow:
 //
 // Domain errors:
 //
 // #define BOOST_MATH_DOMAIN_ERROR_POLICY throw_on_error
 #define BOOST_MATH_DOMAIN_ERROR_POLICY ignore_error
 //
 // Pole errors:
 //
 // #define BOOST_MATH_POLE_ERROR_POLICY throw_on_error
 #define BOOST_MATH_POLE_ERROR_POLICY ignore_error
 //
 // Overflow Errors:
 //
 // #define BOOST_MATH_OVERFLOW_ERROR_POLICY throw_on_error
 #define BOOST_MATH_OVERFLOW_ERROR_POLICY ignore_error
 //
 // Internal Evaluation Errors:
 //
 // #define BOOST_MATH_EVALUATION_ERROR_POLICY throw_on_error
 #define BOOST_MATH_EVALUATION_ERROR_POLICY ignore_error
 //
 // Underfow:
 //
 // #define BOOST_MATH_UNDERFLOW_ERROR_POLICY ignore_error
 //
 // Denorms:
 //
 // #define BOOST_MATH_DENORM_ERROR_POLICY ignore_error
 //
 // Max digits to use for internal calculations:
 //
 // #define BOOST_MATH_DIGITS10_POLICY 0
 //
 // Promote floats to doubles internally?
 //
 // #define BOOST_MATH_PROMOTE_FLOAT_POLICY true
 //
 // Promote doubles to long double internally:
 //
 // #define BOOST_MATH_PROMOTE_DOUBLE_POLICY true
 //
 // What do discrete quantiles return?
 //
 // #define BOOST_MATH_DISCRETE_QUANTILE_POLICY integer_round_outwards
 //
 // If a function is mathematically undefined
 // (for example the Cauchy distribution has no mean),
 // then do we stop the code from compiling?
 //
 // #define BOOST_MATH_ASSERT_UNDEFINED_POLICY true
 //
 // Maximum series iterstions permitted:
 //
 // #define BOOST_MATH_MAX_SERIES_ITERATION_POLICY 1000000
 //
 // Maximum root finding steps permitted:
 //
 // define BOOST_MATH_MAX_ROOT_ITERATION_POLICY 200

 // [PJM] Needed for students_t_ltq(), students_t_utq()
 // [PJM] changed with fix to Ticket #8837
 //#define BOOST_MATH_ROUNDING_ERROR_POLICY ignore_error

 }}}

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/9126#comment:6>
Boost C++ Libraries <http://www.boost.org/>
Boost provides free peer-reviewed portable C++ source libraries.

This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:14 UTC