Sujet : Re: Computer architects leaving Intel...
De : tkoenig (at) *nospam* netcologne.de (Thomas Koenig)
Groupes : comp.archDate : 05. Sep 2024, 15:58:54
Autres entêtes
Organisation : A noiseless patient Spider
Message-ID : <vbcgve$cd1g$3@dont-email.me>
References : 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
User-Agent : slrn/1.0.3 (Linux)
Scott Lurndal <
scott@slp53.sl.home> schrieb:
David Brown <david.brown@hesbynett.no> writes:
On 05/09/2024 11:12, Terje Mathisen wrote:
>
That last paragraph enumerates pretty much all the uses I have for
integer-type variables, with (like Mitch) a few apis that use (-1) as an
error signal that has to be handled with special code.
>
You don't have loop counters, array indices, or integer arithmetic?
>
We do. There is no issue using unsigned loop counters,
I find counting down from n to 0 using unsigned variables
unintuitive. Or do you always count up and then calculate
what you actually use? Induction variable optimization
should take care of that, but it would be more complicated
to use.