Subject: Re: [Boost-bugs] [Boost C++ Libraries] #8621: erf function gives wrong results with pgcpp - PGI 10.4
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2013-06-07 18:08:05
#8621: erf function gives wrong results with pgcpp - PGI 10.4
-------------------------------------------------+-------------------------
Reporter: Jacques Desfosses | Owner: johnmaddock
<jacques.desfosses@â¦> | Status: new
Type: Bugs | Component: math
Milestone: To Be Determined | Severity: Problem
Version: Boost 1.53.0 | Keywords: erf pgi
Resolution: |
-------------------------------------------------+-------------------------
Comment (by johnmaddock):
Thanks for the extra information, I'm attaching an updated version of
boost/math/special_functions/erf.hpp which prints some more debugging
info. Can you give it a try and report back the output? The last few
lines should be:
{{{
d:\data\boost\trunk\boost\math\special_functions\erf.hpp:177 53-bit
precision erf_imp called
d:\data\boost\trunk\boost\math\special_functions\erf.hpp:269 Y =
0.40593576431274414
d:\data\boost\trunk\boost\math\special_functions\erf.hpp:270 P[0] =
-0.098090592216281233
d:\data\boost\trunk\boost\math\special_functions\erf.hpp:271 Q[0] = 1
d:\data\boost\trunk\boost\math\special_functions\erf.hpp:273 result =
0.427583576155807
d:\data\boost\trunk\boost\math\special_functions\erf.hpp:275 result =
0.15729920705028513
}}}
Thanks, John.
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/8621#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:13 UTC