#8983: erf(0) should return 0
---------------------------+------------------------------------------------
Reporter: rossk | Owner: RossK
Type: enhancement | Status: needs_review
Priority: minor | Milestone: sage-5.0
Component: symbolics | Keywords: erf, beginner
Work_issues: | Upstream: N/A
Reviewer: | Author: Benjamin Jones
Merged: | Dependencies:
---------------------------+------------------------------------------------
Comment(by benjaminfjones):
That's a good point, this patch addresses the issue by returning the input
`x` instead of 0 when a python 0 would have been returned in the previous
patch.
{{{
sage: erf(0)
0
sage: type(erf(0))
<type 'sage.rings.integer.Integer'>
sage: parent(erf(0))
Integer Ring
}}}
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/8983#comment:12>
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.