Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

Re: to calculate the value of π

by fisher (Priest)
on Sep 04, 2013 at 13:31 UTC ( #1052342=note: print w/ replies, xml ) Need Help??


in reply to to calculate the value of π

in addition to previous comment I have to point out that you can't just use a usual division operator (4-4/3 ...) cause then you will found yourself restrained into IEEE 754 boundary (fixed mantissa length).

you need to implement your own tricky iterative algorithm using pure integer arithmetics. Good luck!


Comment on Re: to calculate the value of π
Re^2: to calculate the value of π
by keszler (Priest) on Sep 04, 2013 at 13:46 UTC

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (8)
As of 2014-12-27 14:49 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (177 votes), past polls