From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=0.2 required=5.0 tests=BAYES_00,INVALID_MSGID, REPLYTO_WITHOUT_TO_CC autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,f3f9104dada53163 X-Google-Attributes: gid103376,public From: "Shmuel (Seymour J.) Metz" Subject: Re: An interesting quote on Java and C++ Date: 1997/11/19 Message-ID: <3473350D.8F9@gsg.eds.com>#1/1 X-Deja-AN: 290785235 References: <97092509394068@psavax.pwfl.com> <342AD83E.2C92@gsg.eds.com> Organization: EDS MS Reply-To: nospam@gsg.eds.com Newsgroups: comp.lang.ada Date: 1997-11-19T00:00:00+00:00 List-Id: Robert I. Eachus wrote: > Ever use floating point? On most hardware today, floating point > uses a (biased)two's-complement exponent and a sign and magnitude > mantissa. So if you use the floating point engine to do integer > arithmetic you get similar semantics to one's complement. Not even close; no end around carry, and the arithmetic complement is not the bitwise complement. One's complement, for better or for worse, is not like anything you're used to except for one obscure thing that I'll leave as an exercise for the reader. -- Shmuel (Seymour J.) Metz Senior Software SE The values in from and reply-to are for the benefit of spammers: reply to domain eds.com, user msustys1.smetz or to domain gsg.eds.com, user smetz. Do not reply to spamtrap@library.lspace.org