| Deutsch English Français Italiano |
|
<v91157$3eui3$2@dont-email.me> View for Bookmarking (what is this?) Look up another Usenet article |
Path: ...!weretis.net!feeder8.news.weretis.net!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail From: Lawrence D'Oliveiro <ldo@nz.invalid> Newsgroups: comp.lang.c Subject: Re: What is your opinion about unsigned int u = -2 ? Date: Wed, 7 Aug 2024 23:48:55 -0000 (UTC) Organization: A noiseless patient Spider Lines: 11 Message-ID: <v91157$3eui3$2@dont-email.me> References: <v8dfo9$1k7cg$1@dont-email.me> <pan$d2c8a$8c54ac9f$29a202e0$12c6ce86@invalid.invalid> <87bk2cecan.fsf@bsb.me.uk> <v8inds$2qpqh$1@dont-email.me> <v8iqnr$7l3c$1@news.xmission.com> <v8oha0$6935$2@raubtier-asyl.eternal-september.org> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Injection-Date: Thu, 08 Aug 2024 01:48:56 +0200 (CEST) Injection-Info: dont-email.me; posting-host="11107b7b6be23aa1c0c6c5167b3d500c"; logging-data="3635779"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19eCMJBchWPjVYPxMFIbCYv" User-Agent: Pan/0.159 (Vovchansk; ) Cancel-Lock: sha1:V3gZuG8jObOVc3Z7MEQm4AC9BSI= Bytes: 1687 On Sun, 4 Aug 2024 20:29:21 +0200, Bonita Montero wrote: > Since the mid of the 70s all new machines work all with 2s complement. > There will be never computers with different notations since the 2s > complement makes the circuit design easier. This may be hard to believe, but I think in the early days 2s-complement arithmetic was seen as something exotic, like advanced mathematics or something. To some, sign-magnitude seemed more “intuitive”. As for ones-complement ... I don’t know to explain that.