[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Groff] integer size
From: |
Bernd Warken |
Subject: |
Re: [Groff] integer size |
Date: |
Tue, 30 Oct 2001 02:23:40 +0100 |
User-agent: |
Mutt/1.2.5i |
On Mon, Oct 29, 2001 at 05:09:59PM -0500, Larry Jones wrote:
>
> If you need more than 16 bits, just use long and be done with it rather
> than cluttering up the code with cute tricks like the above that can
> break valid code (e.g., printf("%d", (int)f);).
>
long int is not garanteed to be >=32 bits by the ANSI standards.
Maybe a new type must be created that is tuned by #ifdef's on the size.
So, another TODO.
Bernd
Re: [Groff] integer size, Werner LEMBERG, 2001/10/30