diff options
Diffstat (limited to 'emfloat.c')
-rw-r--r-- | emfloat.c | 43 |
1 files changed, 2 insertions, 41 deletions
@@ -103,9 +103,6 @@ int number_of_loops; ** Begin timing */ elapsed=StartStopwatch(); -#ifdef DEBUG -number_of_loops=loops-1; /* the index of the first loop we run */ -#endif /* ** Each pass through the array performs operations in @@ -139,44 +136,8 @@ while(loops--) cbase+i); break; } -#ifdef DEBUG -{ - unsigned long j[8]; /* we test 8 entries */ - int k; - unsigned long i; - char buffer[1024]; - if (number_of_loops==loops) /* the first loop */ - { - j[0]=(unsigned long)2; - j[1]=(unsigned long)6; - j[2]=(unsigned long)10; - j[3]=(unsigned long)14; - j[4]=(unsigned long)(arraysize-14); - j[5]=(unsigned long)(arraysize-10); - j[6]=(unsigned long)(arraysize-6); - j[7]=(unsigned long)(arraysize-2); - for(k=0;k<8;k++){ - i=j[k]; - InternalFPFToString(buffer,abase+i); - printf("%6ld: (%s) ",i,buffer); - switch(jtable[i % 16]) - { - case 0: strcpy(buffer,"+"); break; - case 1: strcpy(buffer,"-"); break; - case 2: strcpy(buffer,"*"); break; - case 3: strcpy(buffer,"/"); break; - } - printf("%s ",buffer); - InternalFPFToString(buffer,bbase+i); - printf("(%s) = ",buffer); - InternalFPFToString(buffer,cbase+i); - printf("%s\n",buffer); - } - } -} -#endif -} -return(StopStopwatch(elapsed)); + } + return(StopStopwatch(elapsed)); } /*********************** |