pi.rb
Calculates 3.1415.… (the number of times that a circle's diameter will fit around the circle) using J. Machin's formula.
Required Files
- bigdecimal
- bigdecimal/math.rb
pi.rb
Calculates 3.1415.… (the number of times that a circle's diameter will fit around the circle) using J. Machin's formula.