Deutsch   English   Français   Italiano  
<vbahtb$3vpkd$1@dont-email.me>

View for Bookmarking (what is this?)
Look up another Usenet article

Path: ...!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: Thomas Koenig <tkoenig@netcologne.de>
Newsgroups: comp.arch
Subject: Re: Computer architects leaving Intel...
Date: Wed, 4 Sep 2024 21:02:35 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 12
Message-ID: <vbahtb$3vpkd$1@dont-email.me>
References: <2024Aug30.161204@mips.complang.tuwien.ac.at>
 <vb00c2$150ia$1@dont-email.me>
 <505954890d8461c1f4082b1beecd453c@www.novabbs.org>
 <vb0kh2$12ukk$1@dont-email.me> <vb3smg$1ta6s$1@dont-email.me>
 <vb4q5o$12ukk$3@dont-email.me> <vb6a16$38aj5$1@dont-email.me>
 <vb7evj$12ukk$4@dont-email.me> <vb8587$3gq7e$1@dont-email.me>
 <vb91e7$3o797$1@dont-email.me> <vb9eeh$3q993$1@dont-email.me>
 <vb9l7k$3r2c6$2@dont-email.me> <vba26l$3te44$1@dont-email.me>
 <vbag2s$3vhih$1@dont-email.me> <vS3CO.10106$kow1.6330@fx35.iad>
Injection-Date: Wed, 04 Sep 2024 23:02:35 +0200 (CEST)
Injection-Info: dont-email.me; posting-host="04b9462bf8233c0522365da918e60878";
	logging-data="4187789"; mail-complaints-to="abuse@eternal-september.org";	posting-account="U2FsdGVkX19WpZDD9xS3GeUSksSqb35x+fqoKZWMgc0="
User-Agent: slrn/1.0.3 (Linux)
Cancel-Lock: sha1:zYmGtWREAaRYI3Azlt5duQQ9iKQ=
Bytes: 1819

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).