Post Reply 
Decimals to improper fractions program?
06-07-2018, 07:27 AM (This post was last modified: 06-07-2018 07:51 AM by Dieter.)
Post: #9
RE: Decimals to improper fractions program?
(06-07-2018 12:08 AM)Valentin Albillo Wrote:  You're using 34 digits (17-digit numerator and 17-digit denominator) to get 34 digits of Pi.

Yes, I know. This is not meant to be a shortcut to pi. It just shows that the program runs fine with 34-digit Free42.

But then... I think I remember a 12C program where two 7-digit constants were used to generate a 10-digit number... #-)

(06-07-2018 12:08 AM)Valentin Albillo Wrote:  unlike 355/113, which gets almost 8 significant digits using just 6

?!? – 355/113 = 3,14159292... which agrees with pi in exactly 7 significant digits. Both truncated (3,141592) and rounded (3,141593).
The 8th significant digit is 3 units off.

Dieter
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: Decimals to improper fractions program? - Dieter - 06-07-2018 07:27 AM



User(s) browsing this thread: 1 Guest(s)