1Test of LGAMA(X) vs LN(2*SQRT(PI))-2X*LN(2)+LGAMA(2X)-LGAMA(X+1/2)


   2000 Random arguments were tested from the interval (  0.0,  0.9)


  LGAMA(X) was larger   395 times,
               agreed   891 times, and
          was smaller   714 times.


 There are  53 base   2 significant digits in a floating-point number


 The maximum relative error of     0.6041E-15 =    2 ** -50.56
    occurred for X = 0.688029E+00
 The estimated loss of base   2 significant digits is   2.44


 The root mean square relative error was     0.1480E-15 =    2 ** -52.59
 The estimated loss of base   2 significant digits is   0.41


1Test of LGAMA(X) vs LN(2*SQRT(PI))-(2X-1)*LN(2)+LGAMA(X-1/2)-LGAMA(2X-1)


   2000 Random arguments were tested from the interval (  1.3,  1.6)


  LGAMA(X) was larger   801 times,
               agreed   530 times, and
          was smaller   669 times.


 There are  53 base   2 significant digits in a floating-point number


 The maximum relative error of     0.7549E-15 =    2 ** -50.23
    occurred for X = 0.161714E+01
 The estimated loss of base   2 significant digits is   2.77


 The root mean square relative error was     0.1747E-15 =    2 ** -52.35
 The estimated loss of base   2 significant digits is   0.65


1Test of LGAMA(X) vs -LN(2*SQRT(PI))+X*LN(2)+LGAMA(X/2)+LGAMA(X/2+1/2)


   2000 Random arguments were tested from the interval (  4.0, 20.0)


  LGAMA(X) was larger   523 times,
               agreed   912 times, and
          was smaller   565 times.


 There are  53 base   2 significant digits in a floating-point number


 The maximum relative error of     0.4800E-15 =    2 ** -50.89
    occurred for X = 0.743136E+01
 The estimated loss of base   2 significant digits is   2.11


 The root mean square relative error was     0.1454E-15 =    2 ** -52.61
 The estimated loss of base   2 significant digits is   0.39


1Special Tests




 Test of special arguments


 LGAMA ( 0.222045E-15) =  0.360437E+02


 LGAMA ( 0.500000E+00) =  0.572365E+00


 LGAMA ( 0.100000E+01) =  0.000000E+00


 LGAMA ( 0.200000E+01) =  0.000000E+00


1Test of Error Returns



 LGAMA will be called with the argument 0.222507-307
 This should not trigger an error message


 LGAMA returned the value 0.708396E+03



 LGAMA will be called with the argument 0.253442+306
 This should not trigger an error message


 LGAMA returned the value 0.177972+309



 LGAMA will be called with the argument-0.100000E+01
 This should trigger an error message


 LGAMA returned the value 0.179000+309



 LGAMA will be called with the argument 0.000000E+00
 This should trigger an error message


 LGAMA returned the value 0.179000+309



 LGAMA will be called with the argument 0.177972+309
 This should trigger an error message


 LGAMA returned the value 0.179000+309



 This concludes the tests
