lkml.org 
[lkml]   [1999]   [Feb]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: Q: void* vs. unsigned long
Date
From
Jakub Jelinek <jj@sunsite.mff.cuni.cz>  wrote:
...
> long long is defined in ISO C9X, your above definition is no longer true.
>
> C9X clearly states in 6.2.1.1:
>
> - The rank of long long int shall be greater than the
> rank of long int, which shall be greater than the rank
> of int, which shall be greater than the rank of short
> int, which shall be greater than the rank of signed
> char.

Interesting, so this tells that:

rank(long long int) > rank(long int) > rank(int) > rank(short int) > rank(char)

While following was the previous definition:

rank(long long int) >= rank(long int) >= rank(int) >= rank(short int) >= rank(char)


Systems do exist where *all* of those have same size, but they are
usually programmed in Fortran-9X, require liquid cooling, and recognize
name "Cray" ...

> Cheers,
> Jakub
> Jakub Jelinek | jj@sunsite.mff.cuni.cz | http://sunsite.mff.cuni.cz

/Matti Aarnio <matti.aarnio@sonera.fi>

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:50    [W:0.067 / U:1.700 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site