3 ms·
time echo "scale=10000; 4*a(1)" | bc -l 3.141592... real 2m33.930s user 2m32.304s sys 0m1.308s
by vmorgulis 11y ago
time echo "scale=10000; 4*a(1)" | bc -l
3.141592...
real 2m33.930s
user 2m32.304s
sys 0m1.308s
- DerekL 11y agoI also tried “6*a(1/sqrt(3))”. On my machine, it only took 1m36.243s instead of 1m58.411s. I wonder what determines the execution time.