Yahoo Answers is shutting down on May 4th, 2021 (Eastern Time) and beginning April 20th, 2021 (Eastern Time) the Yahoo Answers website will be in read-only mode. There will be no changes to other Yahoo properties or services, or your Yahoo account. You can find more information about the Yahoo Answers shutdown and how to download your data on this help page.
Trending News
Pi Calculator coding in C or objective-C?
out of sheer interest, how would I create a calculator that only threw out the number PI to a given number of decimal places in either C or objective-C?
4 Answers
- Anonymous1 decade ago
here is a good example of finding pi . Go through this well and all our answers will be answered . The code is in C++ but i guess you wont mind .
- Anonymous1 decade ago
use some library that can do calculations with big decimals and implement the following algorithm http://en.wikipedia.org/wiki/Gauss%E2%80%93Legendr...