On Aug 1, 6:52 pm, Eviatar <eviatarb...@gmail.com> wrote:
> This is now #11643,http://trac.sagemath.org/sage_trac/ticket/11643.

A little experimenting (see ticket) shows that Maxima itself does not
keep track of precision in its bigfloats. Any computation (including
just adding two numbers!) will just produce a bigfloat with precision
as set by "fpprec". This even happens when adding two bigfloats with
lower precision. In short, while maxima's bigfloats carry precision
information with them, this is not taken into account in computations.

If we want maxima's floats to act nicely with sage's precision model,
we'd have to scan the expression for mpfr objects, figure out from
that a reasonable precision, set fpprec to that and do the maxima
computation.
In your original example, you'd have to set "fpprec" to 200*ln(2)/
ln(10).

-- 
To post to this group, send an email to sage-devel@googlegroups.com
To unsubscribe from this group, send an email to 
sage-devel+unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/sage-devel
URL: http://www.sagemath.org

Reply via email to