This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH libquadmath/PR68686]


On 10/23/18 7:45 PM, Ed Smith-Rowland wrote:
> Greetings,
> 
> This is an almost trivial patch to get the correct sign for tgammaq.
> 
> I don't have a testcase as I don't know where to put one.
> 
> OK?
> 
> Ed Smith-Rowland
> 
> 
> 
> tgammaq.CL
> 
> 2018-10-24  Edward Smith-Rowland  <3dw4rd@verizon.net>
> 
> 	PR libquadmath/68686
> 	* math/tgammaq.c: Correct sign for negative argument.
I don't have the relevant background to evaluate this for correctness.
Can you refer back to any kind of documentation which indicates what the
sign of the return value ought to be?

Alternately, if you can point to the relevant code in glibc that handles
the resultant sign, that'd be useful too.

Note that Joseph's follow-up doesn't touch on the gamma problem AFAICT,
but instead touches on the larger issues around trying to keep the
quadmath implementations between glibc and gcc more in sync.

Jeff


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]