pub fn fresnel_integrals(x: f64) -> (f64, f64)
The Fresnel integrals (S(x), C(x)) with S(x) = ∫₀ˣ sin(πt²/2) dt and C(x) = ∫₀ˣ cos(πt²/2) dt.
(S(x), C(x))
S(x) = ∫₀ˣ sin(πt²/2) dt
C(x) = ∫₀ˣ cos(πt²/2) dt
Both are odd in x; the limits as x → ±∞ are ±1/2.
x
x → ±∞
±1/2