Commit bf50d091 by Frank Ch. Eigler

* fixing typos in accidental checkin

From-SVN: r88463
parent 3f75a254
......@@ -7,14 +7,14 @@ char a[SIZE];
int main ()
{
int i, j=0;
int i, j=0, k;
int a_before_b = (& a[0] < & b[0]);
/* Rather than iterating linearly, which would allow loop unrolling
and mapping to pointer manipulation, we traverse the "joined"
arrays in some random order. */
for (i=0; i<SIZE*2; i++)
{
k=rand()%(SIZE*2))
k = rand() % (SIZE*2);
j += (a_before_b ? a[k] : b[k]);
}
return j;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment