Yahoo Groups archive

Lpc2000

Index last updated: 2026-04-28 23:31 UTC

Message

Re: [lpc2000] Re: unsigned long versus unsigned int on ARM7

2005-11-10 by Clyde Stubbs

On Thu, Nov 10, 2005 at 04:51:15PM -0000, rtstofer wrote:
> 6.3.1.1 Boolean, characters, and integers
> 1 Every integer type has an integer conversion rank defined as 
> follows:

> \ufffd No two signed integer types shall have the same rank, even if they 
> have the same representation.
> 
> \ufffd The rank of a signed integer type shall be greater than the rank 
> of any signed integer type with less precision.

Read this carefully - what it says is that IF there are two types with
different precisions, then the one with less precision must have the
lower rank - it does NOT say that types with different rank must have
different precisions.

While the wording is different to that of C89, the meaning is the same.


Clyde

Attachments

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.