not log2(10) but log(10,2)
{{{
R = RealField(round(log(10,2)*200))
len(str(R(pi)))
///
200
}}}
On 4/17/07, Timothy Clemans <[EMAIL PROTECTED]> wrote:
> I'm confused about what to do.
>
> {{{
> R = RealField(round(log2(10)*200))
> len(str(R(pi)))
> ///
> 42
> }}}
>
> It would be nice if there was
I'm confused about what to do.
{{{
R = RealField(round(log2(10)*200))
len(str(R(pi)))
///
42
}}}
It would be nice if there was a SAGE way to easily get pi to say 200
binary places or 200 decimal places.
maybe:
pi.str(2,places=200)
On 4/17/07, William Stein <[EMAIL PROTECTED]> wrote:
>
> On 4/1
On 4/17/07, Timothy Clemans <[EMAIL PROTECTED]> wrote:
>
> http://www.sagemath.org/hg/sage-main?f=258cf90b118f;file=sage/functions/constants.py
>
> "We can obtain floating point approximations to each of these constants
> by coercing into the real field with given precision. For example, to
> 200