summaryrefslogtreecommitdiffstats
path: root/contrib/bc/Test/sqrt2.b
blob: bd0eaadb76c7a9aac9bcbe187b82ae00e98c1469 (plain)
1
2
3
4
5
6
7
8
9
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
OpenPOWER on IntegriCloud