Routine ID: C322 | |
---|---|
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
| |||
|
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
RFRSIN,
FRCOS
RFRCOS
Usage:
In any arithmetic expression,
RFRSIN(X) or DFRSIN(X) has the value
,
RFRCOS(X) or DFRCOS(X) has the value
,
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: