#783: dilog is lame
------------------------------+---------------------------------------------
Reporter: was | Owner: somebody
Type: defect | Status: needs_info
Priority: minor | Milestone: sage-4.5.3
Component: basic arithmetic | Resolution:
Keywords: | Author: Mike Hansen
Upstream: N/A | Reviewer:
Merged: | Work_issues:
------------------------------+---------------------------------------------
Changes (by zimmerma):
* status: needs_review => needs_info
Comment:
There is something strange in the examples added:
{{{
sage: from sage.symbolic.pynac import py_li2_for_doctests as py_li2
sage: py_li2(-1.1)
---------------------------------------------------------------------------
TypeError Traceback (most recent call
last)
/users/caramel/zimmerma/Adm/Stages/10/Prest/<ipython console> in
<module>()
/usr/local/sage-core2/local/lib/python2.6/site-
packages/sage/symbolic/pynac.so in sage.symbolic.pynac.py_li2_for_doctests
(sage/symbolic/pynac.cpp:15450)()
TypeError: py_li2_for_doctests() takes exactly 2 positional arguments (1
given)
}}}
Shouldn't {{{py_li2}}} take two arguments?
Also I've noticed the following, which maybe should be in a different
ticket:
{{{
sage: dilog(+Infinity)
dilog(+Infinity)
sage: dilog(-Infinity)
dilog(-Infinity)
sage: limit(dilog(x),x=+Infinity)
Infinity
sage: limit(dilog(x),x=-Infinity)
-Infinity
}}}
Maybe {{{dilog(+Infinity)}}} and {{{dilog(-Infinity)}}} should return the
corresponding limits?
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/783#comment:9>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica,
and MATLAB
--
You received this message because you are subscribed to the Google Groups
"sage-trac" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/sage-trac?hl=en.