Skip to content
  • Raymond Toy's avatar
    Fix incomplete-gamma-tail for negative reals, use series for Fresnel S · bed5763d
    Raymond Toy authored
    for small arg and update tests.
    
    qd-gamma.lisp:
    o INCOMPLETE-GAMMA-TAIL was hanging for arguments on the negative real
      axis.  Use INCOMPLETE-GAMMA in this case too.
    o Add the series expansion for Fresnel S and use it for evaluating it
      for small arguments.  We were losing accuracy with the existing
      algorithm.
    
    rt-tests.lisp:
    o Update thresholds for elliptic-pi-n0.d, elliptic-pi.n2.q,
      theta3.1.d.
    o Fix typo in test name.  gamma-incomplete-tail.1.q should have been
      2.q.
    o Add tests for gamma-incomplete-tail for arguments on the negative
      real axis.
    o Add tests for Fresnel S.
    bed5763d