toms723


toms723, a FORTRAN77 code which computes the Fresnel sine and cosine integrals, by W van Snyder. This is a version of ACM TOMS algorithm 723.

        C(x) = integral ( 0 < t < x ) cos ( t^2 ) dt
        S(x) = integral ( 0 < t < x ) sin ( t^2 ) dt
      

An alternate definition, used in Abramowitz and Stegun and the NIST Mathematical Handbook, is:

        C*(x) = integral ( 0 < t < x ) cos ( pi/2 * t^2 ) dt
        S*(x) = integral ( 0 < t < x ) sin ( pi/2 * t^2 ) dt
      

Licensing:

The computer code and data files made available on this web page are distributed under the MIT license

Languages:

toms723 is available in a FORTRAN77 version.

Related Data and Programs:

toms723_test

Reference:

  1. W van Snyder,
    Algorithm 723: Fresnel Integrals,
    ACM Transactions on Mathematical Software,
    Volume 19, Number 4, December 1993, pages 452-456.

Source Code:


Last revised on 01 December 2023.