π in LOLCODE
AmazingMech2418 (1016)

This is an approximation of pi in the famous language of the lolcats: LOLCODE. This all started because @Warhawk947 said in https://repl.it/talk/share/FIRST-C-PROJECT/33478 that @LizFoster should do a pi approximation in every language and I said "Imagine pi in LOLCODE or Emoticon or some other esolang..." and @Warhawk947 said not to even think about it, so here it is! By the way, this uses the Nilakantha Series.

You are viewing a single comment. View All
AmazingMech2418 (1016)

@LizFoster Wikipedia has some infinite series for radian trigonometry that you can use to calculate pi. I sent you the link a few days ago (maybe a few weeks... I've lost track of time lately). I've mainly done the arctangent method, but you should also be able to do sine and cosine as well.