π in APL
AmazingMech2418 (486)

@TheForArkLD recommended that I make a pi approximation in APL, so here it is! By the way, I don't know if I did it the way you are technically supposed to, but it works! APL has almost no available documentation online...

You are viewing a single comment. View All
theangryepicbanana (1526)

You could probably simplify this whole thing:

((4÷(c×((c×(c+3))+2)))×s)

to:

((4÷c×(c×c+3)+2)×s)

because I believe the APL evaluates from right to left (rather than left to right). It might even be able to be simplified further.

AmazingMech2418 (486)

@theangryepicbanana I just simplified it as far as I can.