#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: Burcin Erocal, Douglas McNeil | Author: Benjamin Jones
Merged: | Dependencies:
---------------------------------------------+------------------------------
Comment(by benjaminfjones):
Replying to [comment:15 burcin]:
That's a good suggestion. I modified the `_eval_` method accordingly and
added several doctests verifying that all branches are reached. Maybe
that's overkill, but it took me a while to find an input that actually
reached the `x.is_trivial_zero()` branch.
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/8983#comment:17>
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.