summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKevin Ryde <user42@zip.com.au>2000-07-29 00:20:40 +0200
committerKevin Ryde <user42@zip.com.au>2000-07-29 00:20:40 +0200
commit39d52bbedcf3b12ff0225cd69b02d65ab175ffad (patch)
tree2a655e0a7e5ffb3020892ff793ab0640fc6721be
parentbad078d7cc0c4f2fe6c83ccb43192b1d083f485b (diff)
downloadgmp-39d52bbedcf3b12ff0225cd69b02d65ab175ffad.tar.gz
Put a "-" for clarity in frequency methods printout.
Use BITS_PER_INT rather than a private UINT_BIT.
-rw-r--r--tune/time.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/tune/time.c b/tune/time.c
index 11fa48054..eed0a4e35 100644
--- a/tune/time.c
+++ b/tune/time.c
@@ -284,7 +284,7 @@ speed_cycletime_init (void)
fprintf (stderr,
"Cannot determine CPU frequency, need one of the following\n");
for (i = 0; i < numberof (speed_cpu_frequency_table); i++)
- fprintf (stderr, "\t%s\n", speed_cpu_frequency_table[i].description);
+ fprintf (stderr, "\t- %s\n", speed_cpu_frequency_table[i].description);
return 0;
}
@@ -328,10 +328,7 @@ speed_starttime (void)
speed_cyclecounter (speed_starttime_save);
}
-#ifndef UINT_BIT
-#define UINT_BIT (sizeof (unsigned) * 8)
-#endif
-#define M_2POWU ((double) (1L << (UINT_BIT-2)) * 4.0)
+#define M_2POWU ((double) (1L << (BITS_PER_INT-2)) * 4.0)
#define M_2POW32 4294967296.0
double