Path: csiph.com!eternal-september.org!feeder.eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail
From: Tim Rentsch
Newsgroups: comp.lang.c++
Subject: Re: two's complement idea
Date: Sat, 09 Nov 2019 06:13:09 -0800
Organization: A noiseless patient Spider
Lines: 10
Message-ID: <86pni1cf4a.fsf@linuxsc.com>
References: <6517f0d3-959c-45b7-8125-6ddd6111ec22@googlegroups.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Injection-Info: reader02.eternal-september.org; posting-host="bd07fdb0e7610947dc98257bdadc7724"; logging-data="9605"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+0AdWLVAic3Q3YtpDJa6s+DcFfZf6Cbrg="
User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.4 (gnu/linux)
Cancel-Lock: sha1:s6yNBMb4Sb8r7pElkTRjs8yeN4k= sha1:toKrDmgQB5S3WG5XvZNha/GdOsE=
Xref: csiph.com comp.lang.c++:69678
Manfred writes:
> My point is about what to do with the fact that many times
> overflow is a programming error: even if this is true I think that
> unsigned overflow should have defined behavior (and wrap) rather
> than being handled as an error by the compiler.
I absolutely concur. Your other comments in the thread also are
right on the money. Frankly I am rather baffled by the comments
of those on the other side of what you've been saying.