And an output
file that is 250000 lines of identical text, all
"32767". I assume that's not the correct output.
Oh crap! Well, for the values given, that *is* the correct output, but
the one lines that reads:
printf("%d\n",mainloop(A,B,4.0,4.0));
should read:
printf("%d\n",mainloop(A,B,-0.8659,4.0));
Then on the R5K Indy it runs:
$ time ./a.out > spc.output
real 13.51
user 13.11
sys 0.15
$
--
Pete Peter Turnbull
Network Manager
University of York