#12947: Bug in integrating x*cos(x^3)
-------------------------------------+-------------------------------------
Reporter: kcrisman | Owner: burcin
Type: defect | Status: needs_review
Priority: trivial | Milestone: sage-6.3
Component: calculus | Resolution:
Keywords: | Merged in:
Authors: Peter Bruin | Reviewers: Ralf Stephan
Report Upstream: N/A | Work issues:
Branch: | Commit:
u/pbruin/12947-maxima_integral | 3d9a07cd45fd002020a1f67cb2394af5a38d76a0
Dependencies: | Stopgaps:
-------------------------------------+-------------------------------------
Comment (by pbruin):
The presence of the imaginary part does not depend on #7099. At least on
ARM it is essentially random (maybe it depends on FPU rounding flags or
something similar):
{{{
$ ./sage -c 'print integrate(x*cos(x^3),(x,0,1/2)).n()'
0.124756040961038
$ ./sage -c 'print integrate(x*cos(x^3),(x,0,1/2)).n()'
0.124756040961038 - 2.77555756156289e-17*I
$ ./sage -c 'print integrate(x*cos(x^3),(x,0,1/2)).n()'
0.124756040961038 - 1.38777878078145e-17*I
$ ./sage -c 'print integrate(x*cos(x^3),(x,0,1/2)).n()'
0.124756040961038 + 1.38777878078145e-17*I
}}}
--
Ticket URL: <http://trac.sagemath.org/ticket/12947#comment:18>
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/d/optout.