This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libquadmath/68686] tgammaq(x) is always negative for noninteger x < 0
- From: "kahrl at gmx dot net" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Thu, 03 Dec 2015 22:40:24 +0000
- Subject: [Bug libquadmath/68686] tgammaq(x) is always negative for noninteger x < 0
- Auto-submitted: auto-generated
- References: <bug-68686-4 at http dot gcc dot gnu dot org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68686
--- Comment #2 from kahrl at gmx dot net ---
Created attachment 36909
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=36909&action=edit
Code that compares tgamma and tgammaq. Link with -lm -lquadmath.
When run, generates the two files tgamma.dat and tgammaq.dat which contain the
return values of tgamma and tgammaq, respectively, for input values between
-5.0 and 5.0.
These output files can be used as datafiles with gnuplot to clearly see the
difference between tgamma (correct) and tgammaq (incorrect).