π in LOLCODE
AmazingMech2418 (1014)

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
NoelB33 (340)

For some reason this totally freezes up my screen for like 10 seconds.

AmazingMech2418 (1014)

@NoelBryan That happens to me too. It's because LOLCODE doesn't run loops smoothly and locks up the browser while the loop runs.

NoelB33 (340)

Ok @AmazingMech2418 BTW nice pi approximation

AmazingMech2418 (1014)

@NoelBryan I just reduced the loop length, so it shouldn't lock up too badly now.

NoelB33 (340)

It doesn’t even lock up now! @AmazingMech2418