|
|
◆ Fresc_sub()
| Sub Fresc_sub |
( |
Ret As |
Double, |
|
|
X As |
Double, |
|
|
Optional Info As |
Long |
|
) |
| |
Fresnel integral C(x) (Subroutine version)
- Purpose
- Computes the Fresnel integral C(x).
C(x) = ∫cos(π/2 t^2) dt [0, x]
- Parameters
-
| [out] | Ret | Fresnel integral C(x). |
| [in] | X | Argument x. |
| [out] | Info | (Optional)
= 0: Successful exit.
= 1: Floating point range error. |
|