freebsd-dev/contrib/bc/Test/sqrt.b
andreas 0ec6169bea Import GNU bc 1.04
PR:		4183
1998-04-29 21:53:01 +00:00

14 lines
184 B
Brainfuck

scale = 5
for (a=1; a<500; a++) r=sqrt(a)
r
scale = 10
for (a=1; a<500; a++) r=sqrt(a)
r
scale = 25
for (a=1; a<500; a++) r=sqrt(a)
r
scale = 40
for (a=1; a<500; a++) r=sqrt(a)
r
quit