**Subject:** Re: [Boost-bugs] [Boost C++ Libraries] #10111: quantile at p=1 for non-central chi-squared---regression bug?

**From:** Boost C++ Libraries (*noreply_at_[hidden]*)

**Date:** 2014-06-12 12:55:18

**Next message:**Boost C++ Libraries: "Re: [Boost-bugs] [Boost C++ Libraries] #10111: quantile at p=1 for non-central chi-squared---regression bug?"**Previous message:**Boost C++ Libraries: "[Boost-bugs] [Boost C++ Libraries] #10119: Typo in Target Types"**In reply to:**Boost C++ Libraries: "[Boost-bugs] [Boost C++ Libraries] #10111: quantile at p=1 for non-central chi-squared---regression bug?"**Next in thread:**Boost C++ Libraries: "Re: [Boost-bugs] [Boost C++ Libraries] #10111: quantile at p=1 for non-central chi-squared---regression bug?"

#10111: quantile at p=1 for non-central chi-squared---regression bug?

--------------------------------------+-------------------------

Reporter: HS <tan@â€¦> | Owner: johnmaddock

Type: Bugs | Status: new

Milestone: To Be Determined | Component: math

Version: Boost Development Trunk | Severity: Regression

Resolution: | Keywords:

--------------------------------------+-------------------------

Comment (by johnmaddock):

Actually the first case returns infinity "by accident", so they're both

buggy - they should be raising an overflow_error instead. Fixed in

https://github.com/boostorg/math/commit/ee8edd4c335c3592b0585ddcf623d739defc1fa3.

Note that the default behaviour is now for these cases to throw a

std::overflow_error, if you want them to return infinity instead then

you'll need to change the policy defaults, for example as in

http://www.boost.org/doc/libs/1_55_0/libs/math/doc/html/math_toolkit/pol_ref/policy_defaults.html

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

**Next message:**Boost C++ Libraries: "Re: [Boost-bugs] [Boost C++ Libraries] #10111: quantile at p=1 for non-central chi-squared---regression bug?"**Previous message:**Boost C++ Libraries: "[Boost-bugs] [Boost C++ Libraries] #10119: Typo in Target Types"**In reply to:**Boost C++ Libraries: "[Boost-bugs] [Boost C++ Libraries] #10111: quantile at p=1 for non-central chi-squared---regression bug?"**Next in thread:**Boost C++ Libraries: "Re: [Boost-bugs] [Boost C++ Libraries] #10111: quantile at p=1 for non-central chi-squared---regression bug?"

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