Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re^2: Computing pi to multiple precision

by ambrus (Abbot)
on Sep 09, 2012 at 16:30 UTC ( #992604=note: print w/ replies, xml ) Need Help??


in reply to Re: Computing pi to multiple precision
in thread Computing pi to multiple precision

But wait, if you print the value all at once, then why do you need the complicated incremental radix conversion routine? Why not just generate the whole binary representation at once, then convert it to decimal all at once, using the built in bigfloat or bigint operations? (Sorry, I won't write that in code now.)


Comment on Re^2: Computing pi to multiple precision
Re^3: Computing pi to multiple precision
by moritz (Cardinal) on Sep 09, 2012 at 19:46 UTC

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://992604]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (9)
As of 2014-11-23 13:40 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My preferred Perl binaries come from:














    Results (132 votes), past polls