Sujet : Re: Computer architects leaving Intel...
De : tkoenig (at) *nospam* netcologne.de (Thomas Koenig)
Groupes : comp.archDate : 04. Sep 2024, 22:02:35
Autres entêtes
Organisation : A noiseless patient Spider
Message-ID : <vbahtb$3vpkd$1@dont-email.me>
References : 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
User-Agent : slrn/1.0.3 (Linux)
Scott Lurndal <
scott@slp53.sl.home> schrieb:
[unsigned]
We use it exclusively for datatypes in the domain [0, 2**n). It's always
compared against other unsigned variables or constants. Works quite well.
Safer and cleaner than willy-nilly using int.
The proposal for adding an unsigned data type to Fortran, which
I initiated and which I am currently implementing for gfortran,
does exactly that - no comparisions of signed vs. unsigned without
explicit conversion (and no arithmetic either).