We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
s
z
Some examples:
import mpmath as mp def check(s, z): pl1 = mp.polylog(s, z) print(pl1.real) with mp.workdps(32): pl2 = mp.polylog(s, z) print(pl2.real) check(1+1e-15, -2) # bad check(1, -2 + 1e-8j) # ok (s exactly an integer) check(1+1e-15, -0.5 + 1e-8j) # ok (|z| < 1)
-1.0986328125 -1.0986122886681101262610921881491 -1.09861228866811 -1.0986122886681096969508007924781 -0.405465108108164 -0.40546510810816446598993214576279
Older polylog issues: #473, #505
mpmath version: 1.2.1
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Some examples:
Older polylog issues: #473, #505
mpmath version: 1.2.1
The text was updated successfully, but these errors were encountered: