diff options
author | Kevin Ryde <user42@zip.com.au> | 2000-07-29 00:20:40 +0200 |
---|---|---|
committer | Kevin Ryde <user42@zip.com.au> | 2000-07-29 00:20:40 +0200 |
commit | 39d52bbedcf3b12ff0225cd69b02d65ab175ffad (patch) | |
tree | 2a655e0a7e5ffb3020892ff793ab0640fc6721be | |
parent | bad078d7cc0c4f2fe6c83ccb43192b1d083f485b (diff) | |
download | gmp-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.c | 7 |
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 |