#15921: work around Maxima fpprintprec bug and other ARM-specific problems
-------------------------------------+-------------------------------------
       Reporter:  dimpase            |        Owner:
           Type:  defect             |       Status:  new
       Priority:  major              |    Milestone:  sage-6.2
      Component:  calculus           |   Resolution:
       Keywords:  Maxima,            |    Merged in:
  fpprintprec, ARM                   |    Reviewers:
        Authors:                     |  Work issues:
Report Upstream:  Reported           |       Commit:
  upstream. Developers acknowledge   |  7c532abee02b2c1e5005da408fb6420fc2dece89
  bug.                               |     Stopgaps:
         Branch:                     |
  u/dimpase/arm_fixes                |
   Dependencies:                     |
-------------------------------------+-------------------------------------
Changes (by dimpase):

 * commit:   => 7c532abee02b2c1e5005da408fb6420fc2dece89
 * branch:   => u/dimpase/arm_fixes


Old description:

> [https://groups.google.com/d/msg/sage-devel/oRpkswzpK38/rNVbVN2RyEcJ
> Maxima uses CL FORMAT function wrongly], resulting in outputting wrong
> number of digits for floats (one extra), and
> contradicting its own manual on fpprintprec. In particular it outputs too
> many digits on ix86 and ix86_64, which got in Sage's doctests. As a
> result, doctests fail on ARM.
>
> The fix is to replace the extra digit in doctests by dot.

New description:

 [https://groups.google.com/d/msg/sage-devel/oRpkswzpK38/rNVbVN2RyEcJ
 Maxima uses CL FORMAT function wrongly], resulting in outputting wrong
 number of digits for floats (one extra), and
 contradicting its own manual on fpprintprec. In particular it outputs too
 many digits on ix86 and ix86_64, which got in Sage's doctests. As a
 result, doctests fail on ARM.

 The fixes are to convert the results into `RealField(prec)`, with
 appropriate `prec`
 (at least 54, or sometimes more). This ticket also fixes ARM-specific
 numerical noise stemming
 from various other upstream problems, such as `eglibc` loss of precision
 in `lgamma`.

--

Comment:

 New commits:
 
||[http://git.sagemath.org/sage.git/commit/?id=7c532abee02b2c1e5005da408fb6420fc2dece89
 7c532ab]||{{{Merge branch 'develop' of trac.sagemath.org:sage into
 arm_fixes}}}||

--
Ticket URL: <http://trac.sagemath.org/ticket/15921#comment:1>
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.

Reply via email to