#12586: [ARM] Maxima has a strange numerical precision issue
--------------------------------+-------------------------------------------
Reporter: Snark | Owner: drkirkby
Type: defect | Status: positive_review
Priority: major | Milestone: sage-5.4
Component: porting | Resolution:
Keywords: | Work issues:
Report Upstream: N/A | Reviewers:
Authors: Julien Puydt | Merged in:
Dependencies: | Stopgaps:
--------------------------------+-------------------------------------------
Changes (by dimpase):
* status: needs_review => positive_review
Old description:
> The following doctest fails:
> {{{
> File
> "/home/jpuydt/sage-5.0.beta5/devel/sage/sage/interfaces/maxima_abstract.py",
> line 1595:
> sage: float(maxima("1.7e+17"))
> Expected: 1.7e+17
> Got:
> 1.6999999999999997e+17
> }}}
>
> I checked the problem is present in "./sage -maxima", and reported
> [https://sourceforge.net/tracker/?func=detail&aid=3494716&group_id=4933&atid=104933
> upstream].
New description:
The following doctest fails:
{{{
File
"/home/jpuydt/sage-5.0.beta5/devel/sage/sage/interfaces/maxima_abstract.py",
line 1595:
sage: float(maxima("1.7e+17"))
Expected: 1.7e+17
Got:
1.6999999999999997e+17
}}}
I checked the problem is present in "./sage -maxima", and reported
[https://sourceforge.net/tracker/?func=detail&aid=3494716&group_id=4933&atid=104933
upstream].
Install updated (with the upstream fix)
[http://sage.math.washington.edu/home/jpuydt/ecl-11.1.2.cvs20111120.p2.spkg
ecl spkg] and
Apply
[http://sage.math.washington.edu/home/jpuydt/ticket_12586_fix_doctest-v2.patch
patch]
--
Comment:
tested on ARM and on OSX 10.6.8. Looks good.
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/12586#comment:7>
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.