Thanks.

Looks needlessly complicated. I did see significant errors crop up
when I tried use <number>.n(4) etc. So, your warning is pretty wise.

Is there a way to extract the mantissa from a number (in base 10 - I
do know that sign_mantissa_exponent() does it in base 2, which is not
terribly useful).

Alternatively, is there support for printf formats (C) ?

On Feb 28, 4:46 am, Volker Braun <[email protected]> wrote:
> On Sunday, February 27, 2011 8:59:25 PM UTC, sm123123 wrote:
>
> > I have numerical calculations that need to adhere to significant
> > digits of the input.
>
> Sage has at least three different "real" numbers, see
>
> http://www.sagemath.org/doc/reference/rings_numerical.html
>
> Each implementation is a different tradeoff between accuracy and speed. If
> you want to be assured that each digit is correct then you probably want to
> use the real interval field (RIF).

-- 
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-support
URL: http://www.sagemath.org

Reply via email to