Computes the Fresnel cosine and sine integrals.
- x (Double)
- The argument.
The value C(x) + i S(x).
A plot of all values of this function in the complex plane as x ranges from negative infinity to positive infinity is called a Cornu spiral.
The Fresnel function can be related to the complex error function along the line (1-I).
