MATH-849: refined the test of logGamma(x) near x = 1.0, 2.0 and 3.0, which
were difficult zones in the previous (Lanczos) implementation. git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1379247 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
8170e47c22
commit
74b5b44868
|
@ -175,7 +175,21 @@ public class GammaTest {
|
|||
{ 0.625 , .3608294954889402 },
|
||||
{ 0.75 , .2032809514312954 },
|
||||
{ 0.875 , .08585870722533433 },
|
||||
{ 0.890625 , .07353860936979656 },
|
||||
{ 0.90625 , .06169536624059108 },
|
||||
{ 0.921875 , .05031670080005688 },
|
||||
{ 0.9375 , 0.0393909017345823 },
|
||||
{ 0.953125 , .02890678734595923 },
|
||||
{ 0.96875 , .01885367233441289 },
|
||||
{ 0.984375 , .009221337197578781 },
|
||||
{ 1.0 , 0.0 },
|
||||
{ 1.015625 , - 0.00881970970573307 },
|
||||
{ 1.03125 , - .01724677500176807 },
|
||||
{ 1.046875 , - .02528981394675729 },
|
||||
{ 1.0625 , - .03295710029357782 },
|
||||
{ 1.078125 , - .04025658272400143 },
|
||||
{ 1.09375 , - .04719590272716985 },
|
||||
{ 1.109375 , - .05378241123619192 },
|
||||
{ 1.125 , - .06002318412603958 },
|
||||
{ 1.25 , - .09827183642181316 },
|
||||
{ 1.375 , - .1177552707410788 },
|
||||
|
@ -183,7 +197,21 @@ public class GammaTest {
|
|||
{ 1.625 , - .1091741337567954 },
|
||||
{ 1.75 , - .08440112102048555 },
|
||||
{ 1.875 , - 0.0476726853991883 },
|
||||
{ 1.890625 , - .04229320615532515 },
|
||||
{ 1.90625 , - .03674470657266143 },
|
||||
{ 1.921875 , - .03102893865389552 },
|
||||
{ 1.9375 , - .02514761940298887 },
|
||||
{ 1.953125 , - .01910243184040138 },
|
||||
{ 1.96875 , - .01289502598016741 },
|
||||
{ 1.984375 , - .006527019770560387 },
|
||||
{ 2.0 , 0.0 },
|
||||
{ 2.015625 , .006684476830232185 },
|
||||
{ 2.03125 , .01352488366498562 },
|
||||
{ 2.046875 , .02051972208453692 },
|
||||
{ 2.0625 , .02766752152285702 },
|
||||
{ 2.078125 , 0.0349668385135861 },
|
||||
{ 2.09375 , .04241625596251728 },
|
||||
{ 2.109375 , .05001438244545164 },
|
||||
{ 2.125 , .05775985153034387 },
|
||||
{ 2.25 , .1248717148923966 },
|
||||
{ 2.375 , .2006984603774558 },
|
||||
|
@ -191,7 +219,21 @@ public class GammaTest {
|
|||
{ 2.625 , .3763336820249054 },
|
||||
{ 2.75 , .4752146669149371 },
|
||||
{ 2.875 , .5809359740231859 },
|
||||
{ 2.890625 , .5946142560817441 },
|
||||
{ 2.90625 , .6083932548009232 },
|
||||
{ 2.921875 , .6222723333588501 },
|
||||
{ 2.9375 , .6362508628423761 },
|
||||
{ 2.953125 , .6503282221022278 },
|
||||
{ 2.96875 , .6645037976116387 },
|
||||
{ 2.984375 , 0.678776983328359 },
|
||||
{ 3.0 , .6931471805599453 },
|
||||
{ 3.015625 , .7076137978322324 },
|
||||
{ 3.03125 , .7221762507608962 },
|
||||
{ 3.046875 , .7368339619260166 },
|
||||
{ 3.0625 , 0.751586360749556 },
|
||||
{ 3.078125 , .7664328833756681 },
|
||||
{ 3.09375 , .7813729725537568 },
|
||||
{ 3.109375 , .7964060775242092 },
|
||||
{ 3.125 , 0.811531653906724 },
|
||||
{ 3.25 , .9358019311087253 },
|
||||
{ 3.375 , 1.06569589786406 },
|
||||
|
|
Loading…
Reference in New Issue