Verify Ramanujan’s 1/PI generator from up to 1000 digits with the language of your choice, that was the Programming Challenge announced by O’Reilly OST to celebrate this year’s PI day.
I’m afraid I can’t offer pointers about how you can get to this results 🙂 but this is my verification using Python 3.0:
The use of Python simply allow us to take advance of the configurable precision of the Decimal data type. Another possible choice could be the Maple platform that also support an arbitrary precision but Python is just perfect for the task.
Hope you like it and Happy Pi Day!
NOTE: This post was originally published in my former blog at merthin.com