|
|
◆ Spence()
| Function Spence |
( |
X As |
Double, |
|
|
Optional Info As |
Long |
|
) |
| |
Spence's function (dilogarithm) Li2(x)
- Purpose
- Computes a Spence's function (dilogarithm).
Li2(x) = ∫ -ln(1-t)/t dt [0, x]
- Returns
- Double
Spence's function Li2(x).
- Parameters
-
| [in] | X | Argument x. |
| [out] | Info | (Optional)
= 0: Successful exit.
= 1: Floating point range error. |
|