* Sync comment with code's reality.
[dragonfly.git] / contrib / bc / Test / timetest
1 #!/bin/sh
2 #
3 # Time the functions.
4 #
5 SYSBC=/usr/bin/bc
6 if [ x$BC = x ] ; then
7   BC=../bc/bc
8 fi
9 for file in exp.b ln.b sine.b atan.b jn.b mul.b div.b raise.b sqrt.b
10 do
11 for prog in $BC $SYSBC $OTHERBC
12 do
13 echo Timing $file with $prog
14 time $prog -l $file
15 done
16 done