Skip to main content

exponential_integral

Function exponential_integral 

Source
pub fn exponential_integral(x: f64) -> f64
Expand description

The exponential integral E₁(x) = ∫ₓ^∞ e^(-t)/t dt for x > 0.

Returns +inf at 0 and NaN for negative x (where the function is complex).