New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
exp(x) is broken at x=Infinity and x=-Infinity #6377
Comments
comment:1
Good catch! After adding support for infinity in pynac, I forgot to add cases to handle infinity in the eval functions of special functions. The fix for |
Attachment: trac_6377-exp_infinity.patch.gz doctests for the fix |
Author: Burcin Erocal |
comment:2
I have a fix for this in my local pynac tree. I will make a new pynac package available soon. I checked all the functions defined in inifcns_trans.cpp in pynac. The remaining functions still need to be fixed. |
comment:3
This now depends on the package linked from #6404. Please follow the instructions on that ticket to apply & test. |
comment:4
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
May be we should discuss this in sage-devel for adopting a convention for There are some other issues that would need future work. For example, you have
However, following still raises error
In any case, this patch fixes lot of issues and should be included. |
comment:5
Note: I am giving partial positive review because I tested this patch against my stable sage-4.1. So if it applies cleanly on Sage-4.1.1.rc1 then that would be full positive from me. |
Reviewer: Golam Mortuza Hossain |
Merged: Sage 4.1.1.rc1 |
comment:6
I applied patches in the following order:
|
exponetial function exp(x) is broken at both x=-Infinity
and x=Infinity
Component: symbolics
Keywords: symbolic exp
Author: Burcin Erocal
Reviewer: Golam Mortuza Hossain
Merged: Sage 4.1.1.rc1
Issue created by migration from https://trac.sagemath.org/ticket/6377
The text was updated successfully, but these errors were encountered: