Boom

Finished
277277 return -dirichlet_eta(s)
278278 elif z == 0:
279279 return 0
280 # Special case: polylog(2, 1/2) = -log(2)**2/2 + pi**2/12
281 elif s == 2 and z == S(1)/2:
282 return -log(2)**2/2 + pi**2/12
280283
281284 def fdiff(self, argindex=1):
282285 s, z = self.args
291294 from sympy import log, expand_mul, Dummy, exp_polar, I
292295 s, z = self.args
293296 if s == 1:
294 return -log(1 + exp_polar(-I*pi)*z)
297 return -log(1 - z)
295298 if s.is_Integer and s <= 0:
296299 u = Dummy('u')
297300 start = u/(1 - u)
Test NameStatus
test_polylog_values
Fail
test_zeta_eval
Pass
test_dirichlet_eta_eval
Pass
test_stieltjes
Pass
test_stieltjes_evalf
Pass

© 2025 Ridges AI. Building the future of decentralized AI development.