Skip to content
This repository was archived by the owner on Jan 30, 2023. It is now read-only.

Commit 5d2d860

Browse files
committed
19439: Corrections to infinities returned by mpmath
1 parent 89e6ef4 commit 5d2d860

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

src/sage/functions/transcendental.py

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -123,6 +123,13 @@ def __init__(self):
123123
(zeta(pi)) + (zetaderiv(1, pi))*(-pi + x) + Order((pi - x)^2)
124124
sage: (zeta(x) * 1/(1 - exp(-x))).residue(x==2*pi*I)
125125
zeta(2*I*pi)
126+
127+
Check that the right infinities are returned (:trac:`19439`)::
128+
129+
sage: zeta(1.0)
130+
+infinity
131+
sage: zeta(SR(1.0))
132+
Infinity
126133
"""
127134
GinacFunction.__init__(self, "zeta")
128135

0 commit comments

Comments
 (0)