XP is just a number | |
PerlMonks |
Re^3: Deriving pi and eby Cosmic37 (Acolyte) |
on Sep 20, 2013 at 12:19 UTC ( [id://1055012]=note: print w/replies, xml ) | Need Help?? |
Well, your method is logical but one advantage of atan(1,1)*4 would be that there is reduced scope to get the argument order or signs wrong. (1,1) is easy to remember but (0,-1) could get mixed up with (1,0), (-1,0) or (0,1) by the sieve-headed amongst us. Never under-estimate sieve-headedness!
:-D
In Section
Cool Uses for Perl
|
|