Comment by schoen
11 years ago
There is a faster way to get pi in bc:
echo '4*a(1)' | bc -l
(That is, 4×arctan(1)=4×π/4=π.) But your way is truly an awesome use of Unix!
11 years ago
There is a faster way to get pi in bc:
echo '4*a(1)' | bc -l
(That is, 4×arctan(1)=4×π/4=π.) But your way is truly an awesome use of Unix!
No comments yet
Contribute on Hacker News ↗