[Bug libstdc++/68397] std::tr1::expint fails in __expint_En_cont_frac for some long double arguments due to low __max_iter value

2018-04-30 Thread emsr at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68397

--- Comment #6 from emsr at gcc dot gnu.org ---
Author: emsr
Date: Mon Apr 30 19:51:13 2018
New Revision: 259777

URL: https://gcc.gnu.org/viewcvs?rev=259777=gcc=rev
Log:
2018-04-30  Edward Smith-Rowland  <3dw...@verizon.net>

PR libstdc++/pr66689 - comp_ellint_3 and ellint_3 return garbage values
* include/tr1/ell_integral.tcc: Correct the nu sign convention
in ellint_3 and comp_ellint_3.
* testsuite/tr1/5_numerical_facilities/special_functions/
06_comp_ellint_3/check_value.cc: Regen with correct values.
* testsuite/tr1/5_numerical_facilities/special_functions/
14_ellint_3/check_value.cc: Ditto.
* testsuite/special_functions/06_comp_ellint_3/check_value.cc: Ditto.
* testsuite/special_functions/13_ellint_3/check_value.cc: Ditto.
* testsuite/special_functions/06_comp_ellint_3/pr66689.cc: New.
* testsuite/special_functions/13_ellint_3/pr66689.cc: New.
* testsuite/tr1/5_numerical_facilities/special_functions/
06_comp_ellint_3/pr66689.cc: New.
* testsuite/tr1/5_numerical_facilities/special_functions/
14_ellint_3/pr66689.cc: New.

2018-04-30  Edward Smith-Rowland  <3dw...@verizon.net>

PR libstdc++/68397 std::tr1::expint fails ... long double arguments.
* include/tr1/exp_integral.tcc: Increase iteration limits.
* testsuite/tr1/5_numerical_facilities/special_functions/15_expint/
pr68397.cc: New test.
* testsuite/special_functions/14_expint/pr68397.cc: New test.

svn commit \ --This line, and those below, will be ignored--
  ChangeLog \ M ChangeLog M include/tr1/ell_integral.tcc A
testsuite/special_functions/06_comp_ellint_3/pr66689.cc A 
testsuite/special_functions/13_ellint_3/pr66689.cc A
testsuite/tr1/5_numerical_facilities/special_functions/06_comp_ellint_3/pr66689.cc
A 
testsuite/tr1/5_numerical_facilities/special_functions/14_ellint_3/pr66689.cc M
testsuite/special_functions/06_comp_ellint_3/check_value.cc M 
testsuite/special_functions/13_ellint_3/check_value.cc M
testsuite/tr1/5_numerical_facilities/special_functions/06_comp_ellint_3/check_value.cc
M 
testsuite/tr1/5_numerical_facilities/special_functions/14_ellint_3/check_value.cc
M include/tr1/exp_integral.tcc A 
testsuite/special_functions/14_expint/pr68397.cc A
testsuite/tr1/5_numerical_facilities/special_functions/15_expint/pr68397.cc
  include/tr1/ell_integral.tcc \
  testsuite/special_functions/06_comp_ellint_3/pr66689.cc \
  testsuite/special_functions/13_ellint_3/pr66689.cc \
 
testsuite/tr1/5_numerical_facilities/special_functions/06_comp_ellint_3/pr66689.cc
\
  testsuite/tr1/5_numerical_facilities/special_functions/14_ellint_3/pr66689.cc
\
  testsuite/special_functions/06_comp_ellint_3/check_value.cc \
  testsuite/special_functions/13_ellint_3/check_value.cc \
 
testsuite/tr1/5_numerical_facilities/special_functions/06_comp_ellint_3/check_value.cc
\
  testsuite/tr1/5_numerical_facilities/special_functio

Added:
   
branches/gcc-7-branch/libstdc++-v3/testsuite/special_functions/06_comp_ellint_3/pr66689.cc
   
branches/gcc-7-branch/libstdc++-v3/testsuite/special_functions/13_ellint_3/pr66689.cc
   
branches/gcc-7-branch/libstdc++-v3/testsuite/special_functions/14_expint/pr68397.cc
   
branches/gcc-7-branch/libstdc++-v3/testsuite/tr1/5_numerical_facilities/special_functions/06_comp_ellint_3/pr66689.cc
   
branches/gcc-7-branch/libstdc++-v3/testsuite/tr1/5_numerical_facilities/special_functions/14_ellint_3/pr66689.cc
   
branches/gcc-7-branch/libstdc++-v3/testsuite/tr1/5_numerical_facilities/special_functions/15_expint/pr68397.cc
Modified:
branches/gcc-7-branch/libstdc++-v3/ChangeLog
branches/gcc-7-branch/libstdc++-v3/include/tr1/ell_integral.tcc
branches/gcc-7-branch/libstdc++-v3/include/tr1/exp_integral.tcc
   
branches/gcc-7-branch/libstdc++-v3/testsuite/special_functions/06_comp_ellint_3/check_value.cc
   
branches/gcc-7-branch/libstdc++-v3/testsuite/special_functions/13_ellint_3/check_value.cc
   
branches/gcc-7-branch/libstdc++-v3/testsuite/tr1/5_numerical_facilities/special_functions/06_comp_ellint_3/check_value.cc
   
branches/gcc-7-branch/libstdc++-v3/testsuite/tr1/5_numerical_facilities/special_functions/14_ellint_3/check_value.cc

[Bug libstdc++/68397] std::tr1::expint fails in __expint_En_cont_frac for some long double arguments due to low __max_iter value

2018-04-20 Thread emsr at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68397

--- Comment #5 from emsr at gcc dot gnu.org ---
We fixed this a long time ago.

[Bug libstdc++/68397] std::tr1::expint fails in __expint_En_cont_frac for some long double arguments due to low __max_iter value

2018-04-20 Thread emsr at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68397

emsr at gcc dot gnu.org changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution|--- |FIXED

--- Comment #4 from emsr at gcc dot gnu.org ---
We fixed this forever ago.

[Bug libstdc++/68397] std::tr1::expint fails in __expint_En_cont_frac for some long double arguments due to low __max_iter value

2017-04-20 Thread emsr at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68397

--- Comment #3 from emsr at gcc dot gnu.org ---
Author: emsr
Date: Thu Apr 20 15:41:59 2017
New Revision: 247027

URL: https://gcc.gnu.org/viewcvs?rev=247027=gcc=rev
Log:
2017-04-20  Edward Smith-Rowland  <3dw...@verizon.net>

PR libstdc++/68397 std::tr1::expint fails ... long double arguments.
* include/tr1/exp_integral.tcc: Increase iteration limits.
* testsuite/tr1/5_numerical_facilities/special_functions/15_expint/
pr68397.cc: New test.
* testsuite/special_functions/14_expint/pr68397.cc: New test.

Added:
trunk/libstdc++-v3/testsuite/special_functions/14_expint/pr68397.cc
   
trunk/libstdc++-v3/testsuite/tr1/5_numerical_facilities/special_functions/15_expint/pr68397.cc
Modified:
trunk/libstdc++-v3/ChangeLog
trunk/libstdc++-v3/include/tr1/exp_integral.tcc

[Bug libstdc++/68397] std::tr1::expint fails in __expint_En_cont_frac for some long double arguments due to low __max_iter value

2017-04-13 Thread 3dw4rd at verizon dot net
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68397

--- Comment #2 from Ed Smith-Rowland <3dw4rd at verizon dot net> ---
Created attachment 41198
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=41198=edit
Testing a patch...

I'm testing the following:

2017-04-13  Edward Smith-Rowland  <3dw...@verizon.net>

PR libstdc++/68397 std::tr1::expint fails ... long double arguments.
* include/tr1/exp_integral.tcc: Increase iteration limits.
* testsuite/tr1/5_numerical_facilities/special_functions/15_expint/
pr68397.cc: New test.
* testsuite/special_functions/14_expint/pr68397.cc: New test.

[Bug libstdc++/68397] std::tr1::expint fails in __expint_En_cont_frac for some long double arguments due to low __max_iter value

2017-03-29 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68397

Jonathan Wakely  changed:

   What|Removed |Added

   Severity|trivial |normal

[Bug libstdc++/68397] std::tr1::expint fails in __expint_En_cont_frac for some long double arguments due to low __max_iter value

2017-03-29 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68397

Jonathan Wakely  changed:

   What|Removed |Added

 Status|UNCONFIRMED |NEW
   Last reconfirmed||2017-03-29
 Ever confirmed|0   |1

[Bug libstdc++/68397] std::tr1::expint fails in __expint_En_cont_frac for some long double arguments due to low __max_iter value

2017-03-29 Thread 3dw4rd at verizon dot net
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68397

--- Comment #1 from Ed Smith-Rowland <3dw4rd at verizon dot net> ---
I concur with this solution.
I can make a patch.