CodeDelphiHow-To'sNews

Getting Big with Pi in Delphi

When I was very young and first learned about Pi they told me 3.14 was a good approximation, but it was an irrational number that went on forever, and people with computers were able to calculate many digits. I had a computer (Commodore Vic 20) and wanted to see how many digits of Pi I could calculate. This is when I discovered floating point number precision limitations, which foiled my first…
Read more
CodeDelphiNews

Calculating Pi in Delphi for Pi Day 2023

Update: I revisited the calculation of Pi with even more digits. In the United States today, March 14th is  π day (3rd month, 14th day, or 3/14). Traditions involve eating pie, the pastry, and calculating Pi, the irrational mathematical constant. Animation of the…