C322: Fresnel Integrals

Author(s): K.S. Kölbig Library: MATHLIB
Submitter: Submitted: 15.05.1987
Language: Fortran Revised: 01.12.1994

Function subprograms RFRSIN, RFRCOS and DFRSIN, DFRCOS calculate the Fresnel integrals

displaymath96

for real arguments x.

On CDC and Cray computers, the double-precision versions DFRSIN, DFRCOS are not available.

Structure:

FUNCTION subprograms
User Entry Names: RFRSIN, RFRCOS, DFRSIN, DFRCOS
Obsolete User Entry Names: FRSIN tex2html_wrap_inline100 RFRSIN, FRCOS tex2html_wrap_inline102 RFRCOS

Usage:

In any arithmetic expression,

RFRSIN(X) or DFRSIN(X) has the value tex2html_wrap_inline104 ,
RFRCOS(X) or DFRCOS(X) has the value tex2html_wrap_inline106 ,

where RFRSIN, RFRCOS are of type REAL, DFRSIN, DFRCOS are of type DOUBLE PRECISION, and X has the same type as the function name.

Method:

Approximation by truncated Chebyshev series.

Accuracy:

RFRSIN and RFRCOS (except on CDC and Cray computers) have full single-precision accuracy. For most values of the argument X, DFRSIN and DFRCOS (and RFRSIN and RFRCOS on CDC and Cray computers) have an accuracy of approximately one significant digit less than the machine precision.

References:

  1. Y.L. Luke, The special functions and their approximations, v. II, (Academic Press New York, 1969) 328-329.
tex2html_wrap_inline108

Michel Goossens Tue Jun 4 21:50:46 METDST 1996