gamma function test suite failures



Hello Barton,

Problem 302 is clear. The expected accurarcy has to be adjusted by a small
amount. I suggest to choose 2.0e-15.

But problem 140 is not evaluated. What is the numerical value of the expression
gamma(1/3)- 2.678938534707748 on your system?

Dieter Kaiser

-----Urspr?ngliche Nachricht-----
Von: willisb at unk.edu [mailto:willisb at unk.edu] 
Gesendet: Sonntag, 12. Oktober 2008 18:46
An: Dieter Kaiser
Cc: maxima at math.utexas.edu
Betreff: Re: [Maxima] gamma function test suite failures

(Maybe the test suite should set display2d to false.)


********************** Problem 140 ***************
Input:
              1
closeto(gamma(-) - 2.678938534707748, 2.e-15)
              3
Result:
      1
gamma(-) - 2.678938534707748
      3

This differed from the expected result: true

********************** Problem 302 ***************
Input:
relerror(gamma_incomplete(2.5 %i + 5.0, 5.0 - 2.5 %i),
2.428851242625584709660092800462769890376b1
 - 1.330717877353455881129062577273028018784b1 %i, 1.e-15)


Result:
1.003950348007545671893981202689970184575b-15

This differed from the expected result:
true

Barton