14 June 2018 03:17:38 PM ASA245_TEST: C version Test the ASA245 library. TEST01: ALNGAM computes the logarithm of the Gamma function. We compare the result to tabulated values. X FX FX2 (Tabulated) (ALNGAM) DIFF 0.2000000000000000 1.5240638224307841 1.5240638224746217 4.3838e-11 0.4000000000000000 0.7966778177017837 0.7966778176797148 2.2069e-11 0.6000000000000000 0.3982338580692348 0.3982338579206516 1.4858e-10 0.8000000000000000 0.1520596783998375 0.1520596783251525 7.4685e-11 1.0000000000000000 0.0000000000000000 0.0000000000000000 0.0000e+00 1.1000000000000001 -0.0498724412598397 -0.0498724412553298 4.5099e-12 1.2000000000000000 -0.0853740900033158 -0.0853740899594786 4.3837e-11 1.3000000000000000 -0.1081748095078604 -0.1081748095390525 3.1192e-11 1.3999999999999999 -0.1196129141723712 -0.1196129141944402 2.2069e-11 1.5000000000000000 -0.1207822376352452 -0.1207822376563367 2.1091e-11 1.6000000000000001 -0.1125917656967557 -0.1125917657030719 6.3162e-12 1.7000000000000000 -0.0958076974070659 -0.0958076974191936 1.2128e-11 1.8000000000000000 -0.0710838729143722 -0.0710838729064991 7.8731e-12 1.8999999999999999 -0.0389842759230833 -0.0389842759167682 6.3151e-12 2.0000000000000000 0.0000000000000000 0.0000000000000000 0.0000e+00 3.0000000000000000 0.6931471805599453 0.6931471806718161 1.1187e-10 4.0000000000000000 1.7917594692280550 1.7917594675495250 1.6785e-09 10.0000000000000000 12.8018274800814691 12.8018274882656726 8.1842e-09 20.0000000000000000 39.3398841871994946 39.3398841871994875 7.1054e-15 30.0000000000000000 71.2570389671680147 71.2570389671680005 1.4211e-14 TEST02: LNGAMMA computes the logarithm of the Gamma function. We compare the result to tabulated values. X FX FX2 (Tabulated) (LNGAMMA) DIFF 0.2000000000000000 1.5240638224307841 1.5240638224307839 2.2204e-16 0.4000000000000000 0.7966778177017837 0.7966778177017816 2.1094e-15 0.6000000000000000 0.3982338580692348 0.3982338580692358 1.0547e-15 0.8000000000000000 0.1520596783998375 0.1520596783998380 5.2736e-16 1.0000000000000000 0.0000000000000000 0.0000000000000007 6.6613e-16 1.1000000000000001 -0.0498724412598397 -0.0498724412598388 9.1593e-16 1.2000000000000000 -0.0853740900033158 -0.0853740900033160 1.3878e-16 1.3000000000000000 -0.1081748095078604 -0.1081748095078616 1.2212e-15 1.3999999999999999 -0.1196129141723712 -0.1196129141723725 1.3184e-15 1.5000000000000000 -0.1207822376352452 -0.1207822376352454 2.2204e-16 1.6000000000000001 -0.1125917656967557 -0.1125917656967559 1.8041e-16 1.7000000000000000 -0.0958076974070659 -0.0958076974070643 1.5682e-15 1.8000000000000000 -0.0710838729143722 -0.0710838729143735 1.3045e-15 1.8999999999999999 -0.0389842759230833 -0.0389842759230836 2.9143e-16 2.0000000000000000 0.0000000000000000 -0.0000000000000013 1.3323e-15 3.0000000000000000 0.6931471805599453 0.6931471805599445 7.7716e-16 4.0000000000000000 1.7917594692280550 1.7917594692280545 4.4409e-16 10.0000000000000000 12.8018274800814691 12.8018274800814709 1.7764e-15 20.0000000000000000 39.3398841871994946 39.3398841871994875 7.1054e-15 30.0000000000000000 71.2570389671680147 71.2570389671680005 1.4211e-14 TEST03: LGAMMA computes the logarithm of the Gamma function. LGAMMA is available with the GCC compiler. We compare the result to tabulated values. X FX FX2 (Tabulated) (LGAMMA) DIFF 0.2000000000000000 1.5240638224307841 1.5240638224307843 2.2204e-16 0.4000000000000000 0.7966778177017837 0.7966778177017837 0.0000e+00 0.6000000000000000 0.3982338580692348 0.3982338580692349 1.6653e-16 0.8000000000000000 0.1520596783998375 0.1520596783998376 5.5511e-17 1.0000000000000000 0.0000000000000000 0.0000000000000000 0.0000e+00 1.1000000000000001 -0.0498724412598397 -0.0498724412598398 4.1633e-17 1.2000000000000000 -0.0853740900033158 -0.0853740900033158 0.0000e+00 1.3000000000000000 -0.1081748095078604 -0.1081748095078605 6.9389e-17 1.3999999999999999 -0.1196129141723712 -0.1196129141723713 9.7145e-17 1.5000000000000000 -0.1207822376352452 -0.1207822376352452 1.3878e-17 1.6000000000000001 -0.1125917656967557 -0.1125917656967558 6.9389e-17 1.7000000000000000 -0.0958076974070659 -0.0958076974070659 1.3878e-17 1.8000000000000000 -0.0710838729143722 -0.0710838729143722 0.0000e+00 1.8999999999999999 -0.0389842759230833 -0.0389842759230834 2.7756e-17 2.0000000000000000 0.0000000000000000 0.0000000000000000 0.0000e+00 3.0000000000000000 0.6931471805599453 0.6931471805599453 0.0000e+00 4.0000000000000000 1.7917594692280550 1.7917594692280550 0.0000e+00 10.0000000000000000 12.8018274800814691 12.8018274800814709 1.7764e-15 20.0000000000000000 39.3398841871994946 39.3398841871994946 0.0000e+00 30.0000000000000000 71.2570389671680147 71.2570389671680147 0.0000e+00 ASA245_TEST: Normal end of execution. 14 June 2018 03:17:38 PM