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

Commit c252b4d

Browse files
committed
doctests for #22142
1 parent 57c7bce commit c252b4d

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

src/sage/functions/log.py

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -219,6 +219,15 @@ def __init__(self):
219219
3.141592653589793j
220220
sage: log(x).subs(x=float(-1))
221221
3.141592653589793j
222+
223+
:trac:`22142`::
224+
225+
sage: log(QQbar(sqrt(2)))
226+
log(1.414213562373095?)
227+
sage: log(QQbar(sqrt(2))*1.)
228+
0.346573590279973
229+
sage: polylog(QQbar(sqrt(2)),3)
230+
polylog(1.414213562373095?, 3)
222231
"""
223232
GinacFunction.__init__(self, 'log', latex_name=r'\log',
224233
conversions=dict(maxima='log', fricas='log'))

0 commit comments

Comments
 (0)