Share your repls and programming experiences

← Back to all posts
π in D
AmazingMech2418 (1039)

I was finished with the pi approximations series, but @CodeLongAndPros suggested in my latest post ( to learn D, so here is the pi approximation in D! D is sort of like a combination of C++ and C in my opinion.

To find the other pi approximations, go to! This is an addition to the original series, so I will not include the link to all of the others in this one, but will add the link to this one in the
latest one in the series (Scala).

AmazingMech2418 (1039)

@CodeLongAndPros Yeah. LOL! D has some pretty good documentation and it helps that it is a lot like C++.