Subject: Re: [Boost-bugs] [Boost C++ Libraries] #12961: boost::math::cyl_bessel_i crashes program.
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2017-04-13 17:03:40
#12961: boost::math::cyl_bessel_i crashes program.
-------------------------------+-------------------------
Reporter: theivorytower@⦠| Owner: johnmaddock
Type: Bugs | Status: new
Milestone: To Be Determined | Component: math
Version: Boost 1.63.0 | Severity: Showstopper
Resolution: | Keywords:
-------------------------------+-------------------------
Comment (by theivorytower@â¦):
Thanks for the reply. I'm using Arch Linux.
When I get to bessel_ik.hpp:78 return prefix * result, the variables are
prefix = inf and result = 1.000040833788070502945698192487356.
When I step in a little further, I find the reason prefix was evaluated to
be infinite was because pow(x / 2, v) was evaluated to be infinite! So
this is must be a bug with libstdc++. Sorry this is not a bug with boost.
FYI with my libstdc++ I find std::pow(x, y) ALWAYS returns infinite
whenever y is long double. I will dig further into libstdc++...
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/12961#comment:2> 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-04-13 17:06:44 UTC