This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [rfc] division by multiplicative inverse in hashtab.c
On Wed, Apr 07, 2004 at 02:54:45PM -0400, DJ Delorie wrote:
> > + #include <limits.h>
>
> Test HAVE_LIMITS_H here. You can #define CHAR_BIT 8 if limits.h is
> missing. floatformat.c assumes 8 bits, nothing else in libiberty
> checks CHAR_BIT.
Ok.
> > ! all the time. All of these inverses (are implied to) have bit 33 set.
>
> Do you mean bit 32 here?
Err, yes.
> We might want to rename "higher_prime_number" to "higher_prime_index"
> or something that indicates that it is no longer returning the actual
> number, but an index into the table.
If you like.
r~