On Sun, Apr 11, 2010 at 10:01 AM, bb <bblo...@arcor.de> wrote:
> Tnx for helping. I did some more experimentation. I dont want to bother you,
> but if you have some time and some pation I would be thankfull for one more
> explanation. Your tip works as expected, but if I use the method n() I still
> get 53 bit of significant bits??? (see last expression of the snippet.)
>
> I argue, that the parameter of n() is set elsewhere in another Variable than
> RealNumber?

Yes, in the code for n, we have the following:

    if prec is None:
        if digits is None:
            prec = 53
        else:
            prec = int((digits+1) * 3.32192) + 1

so it just defaults to 53 if nothing is passed in.  The RealNumber =
RealField(137) just changes the precision for floating point literals
entered on the command line.

--Mike

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

To unsubscribe, reply using "remove me" as the subject.

Reply via email to