π in APL
AmazingMech2418 (941)

@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
TheForArkLD (734)

@AmazingMech2418 yes

n←0
max←10
func←{
⍝Do something
n←n+1
{n < max:func 1} 1
}
func 1