summaryrefslogtreecommitdiff
path: root/emfloat.c
diff options
context:
space:
mode:
authorMatt Turner <mattst88@gmail.com>2008-11-12 04:01:51 +0000
committerMatt Turner <mattst88@gmail.com>2008-11-12 04:01:51 +0000
commit13434a06d5f7d34be5a78f4d8ab2db1a8b1d50e5 (patch)
tree220c2917d7f01f375b52d90c0ab57f71ac4cdc22 /emfloat.c
parente618b16d4cc89e46ec4bac40af34a93790a17f8e (diff)
Remove output_string function
git-svn-id: svn://mattst88.com/svn/cleanbench/trunk@10 0d43b9a7-5ab2-4d7b-af9d-f64450cef757
Diffstat (limited to 'emfloat.c')
-rw-r--r--emfloat.c43
1 files changed, 2 insertions, 41 deletions
diff --git a/emfloat.c b/emfloat.c
index 0f9793b..e9388c5 100644
--- a/emfloat.c
+++ b/emfloat.c
@@ -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));
}
/***********************