#14821: Weird error in exponential integral
----------------------------+-----------------------------------------------
Reporter: ppurka | Owner: burcin
Type: defect | Status: new
Priority: major | Milestone: sage-5.12
Component: calculus | Resolution:
Keywords: | Work issues:
Report Upstream: N/A | Reviewers:
Authors: | Merged in:
Dependencies: | Stopgaps:
----------------------------+-----------------------------------------------
Comment (by ppurka):
Maybe we should look at the derivative of the function that is input. If
the derivative has large values, then it means that the function is
changing too quickly and the "keepfloat" should be kept false. Otherwise,
keepfloat can be turned on to the default. This adds an extra processing
on Sage side, but will at least make some of these problems go away.
I saw you mention in the ticket whether it is user error to provide a
floating number `-1.0` in the exponential function. The `-1.0` used in the
example is just an example. I had a more complicated number there. It
really surprised me when the integral failed. Such kind of integrals
should never fail.
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/14821#comment:3>
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 unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sage-trac.
For more options, visit https://groups.google.com/groups/opt_out.