id,summary,reporter,owner,description,type,status,milestone,component,version,severity,resolution,keywords,cc 8621,erf function gives wrong results with pgcpp - PGI 10.4,Jacques Desfosses ,John Maddock,"Hi experts, I compiled the following code with pgcpp / PGI 10.4 on linux. /opt/pgi-10.4/linux86/10.4/bin/pgcpp main.cpp -o erf.exe {{{ #include #include int main() { double val(1.0); printf(""BOOST : %-20.15E\n"", boost::math::erf(val)); printf(""MATH_H: %-20.15E\n"", erf(val)); } }}} Output is as follows: {{{ BOOST : 8.368481544380342E-01 MATH_H: 8.427007929497149E-01 }}} The value computed by BOOST is incorrect. The same code will give the correct value when compiled with VS2012 with Windows 7-64 bits OS. My linux box is running SUSE Linux Enterprise Desktop 10 SP2 (x86_64) Can you please help troubleshoot the problem? Other basic statistic functions will also return wrong values such as cdf and quantile of standard distribution. Thanks a lot, Jacques Desfosses",Bugs,closed,To Be Determined,math,Boost 1.53.0,Problem,fixed,erf pgi,