[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [bug-gnulib] proposed simplification rewrite of stdint module
From: |
Paul Eggert |
Subject: |
Re: [bug-gnulib] proposed simplification rewrite of stdint module |
Date: |
Fri, 30 Jun 2006 09:14:49 -0700 |
User-agent: |
Gnus/5.1008 (Gnus v5.10.8) Emacs/21.4 (gnu/linux) |
Bruno Haible <bruno@clisp.org> writes:
> No, it appears correct as it is. For example, if bits==32, it will be
> ((1U << 31) - 1) * 2 + 1)
> = (0x7fffffffU * 2 + 1)
> = 0xffffffffU
You're right, of course. That's what I get for writing without testing.
Sorry about the noise. I'll change it to your suggestion. Thanks.