On Apr 4, 2009, at 11:55 AM, jeffblakeslee wrote:

> Hello, This looks like a bug.  It seems that after 3316 bits of
> precision
> the approximation of pi just puts out 0's.  This doesn't seem to
> occur with the approximation of e.
>
> pi.n(3330)
> 3.14159265358979323846264338327950288419716939937510582097
> 494459230781640628620899862803482534211706798214808651328
> 230664709384460955058223172535940812848111745028410270193
> 852110555964462294895493038196442881097566593344612847564
> 823378678316527120190914564856692346034861045432664821339
> 360726024914127359943260063087012779519109407390418093452
> 366144783781413665356550342145159110383884244203895242032
> 565717923012568135840720443113537505267497641548774308267
> 841656968838560957663630990466798360537812843090967227292
> 264486385991548874923734684840645270200088918633747120119
> 619445859835084985418080614082911424722784170730143818961
> 436212543343745587738076213453432425236142519788395217447
> 977283156138040436099818110639260749623890226897184256694
> 046248239605052647765939856018848870770356463035964728364
> 809515063051342060347433442026508337428040354210386867441
> 648256374324814252477922302252831475629579994238564993822
> 399560116707693859655659817096517369654077363877453521467
> 941754963248968124389648437500000


I don't get this

----------------------------------------------------------------------
| Sage Version 3.4, Release Date: 2009-03-11                         |
| Type notebook() for the GUI, and license() for information.        |
----------------------------------------------------------------------
Loading Sage library. Current Mercurial branch is: dok
sage: pi.n(3330)
3.14159265358979323846264338327950288419716939937510582097
494459230781640628620899862803482534211706798214808651328
230664709384460955058223172535940812848111745028410270193
852110555964462294895493038196442881097566593344612847564
823378678316527120190914564856692346034861045432664821339
360726024914127372458700660631558817488152092096282925409
171536436789259036001133053054882046652138414695194151160
943305727036575959195309218611738193261179310511854807446
237996274956735188575272489122793818301194912983367336244
065664308602139494639522473719070217986094370277053921717
629317675238467481846766940513200056812714526356082778577
134275778960917363717872146844090122495343014654958537105
079227968925892354201995611212902196086403441815981362977
477130996051870721134999999837297804995105973173281609631
859502445945534690830264252230825334468503526193118817101
000313783875288658753320838142061717766914730359825349042
875546873115956286388235378759375195778185778053217122680
661300192787661119590921642019894

In fact, I start to diverge with you half way through. Are you sure  
you didn't assign pi to something else beforehand?

- Robert


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

Reply via email to