For Polylog(s, x) with s.i == 0 and x.i == 0 and x.r <= 1, use the real Polylog(s.r, x.r) function.
Else if s == 2 and x.r < −1, compute y = 1 / (1 − x), compute z = Polylog(2, 1−y), then
Else if x.r > 1 and s != 2, Error "Cannot always compute Polylog(s, x) for x > 1 and s != 2"
Else
Return to Complex Computations
Return to Harry's Home Page