Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
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 perusing the Monastery: (5)
As of 2015-07-05 08:48 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (61 votes), past polls