diff options
Diffstat (limited to 'contrib/bc/Test/sqrt2.b')
-rw-r--r-- | contrib/bc/Test/sqrt2.b | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/contrib/bc/Test/sqrt2.b b/contrib/bc/Test/sqrt2.b new file mode 100644 index 0000000..bd0eaad --- /dev/null +++ b/contrib/bc/Test/sqrt2.b @@ -0,0 +1,10 @@ +scale = 20 +for (a=1; a<5000; a += 1) r=sqrt(a) +r +for (a=1; a<50000; a += 100) r=sqrt(a) +r +for (a=1; a<500000; a+=1000) r=sqrt(a) +r +for (a=1; a<5000000; a+=10000) r=sqrt(a) +r +quit |