Computes the exponential integral.
The value of Ein(x).
The exponential integral is defined as:

It is related to the incomplete Gamma function for negative, integer shape parameters by ΓQ(-k, x) = Eik+1(x) / xk.
| Exception | Condition |
|---|---|
| ArgumentOutOfRangeException | n is negative. |
| ArgumentOutOfRangeException | x is negative. |