Computes the cosine integral.
- x (Double)
- The argument, which must be non-negative.
The value of Ci(x).
The cosine integral is defined as:

The cosine integral diverges logrithmically to negative inifity at the origin and executes a damped oscilation arround zero as its argument increases.
| Exception | Condition |
|---|---|
| ArgumentOutOfRangeException | x is negative. |