#6377: [with patch, needs review] exp(x) is broken at x=Infinity and x=-Infinity
-----------------------+----------------------------------------------------
Reporter: gmhossain | Owner: burcin
Type: defect | Status: assigned
Priority: major | Milestone: sage-4.1.1
Component: symbolics | Keywords: symbolic exp
Reviewer: | Author: Burcin Erocal
Merged: |
-----------------------+----------------------------------------------------
Comment(by gmhossain):
Hi Burcin,
I tested this out. It looks fine to me.
I guess, it would be good if we could follow some standard convention for
values of these functions at their poles, brunch cuts. For example,
following
looks odd to me
{{{
sage: arctan(-Infinity)
-1/2*pi
sage: tan(-pi/2)
Infinity
}}}
May be we should discuss this in sage-devel for adopting a convention for
these special values.
There are some other issues that would need future work. For example, you
have
fixed values of log at 0
{{{
sage: SR(0).log()
-Infinity
}}}
However, following still raises error
{{{
sage: log(0)
ValueError ...
}}}
In any case, this patch fixes lot of issues and should be included.
The remaining issues should be fixed later. I am going to give a positive
review shortly.
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/6377#comment:4>
Sage <http://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
-~----------~----~----~----~------~----~------~--~---