pub fn cosine_integral(x: f64) -> f64
The cosine integral Ci(x) = γ + ln x + ∫₀ˣ (cos t − 1)/t dt for x > 0.
x > 0
Returns -inf at 0 and NaN for negative x (where Ci is complex).
-inf
NaN
x