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=-1.3 required=5.0 tests=BAYES_00,INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 107079,c7637cfdf68e766 X-Google-Attributes: gid107079,public X-Google-Thread: 103376,c7637cfdf68e766 X-Google-Attributes: gid103376,public X-Google-Thread: f43e6,c7637cfdf68e766 X-Google-Attributes: gidf43e6,public X-Google-Thread: f8362,c7637cfdf68e766 X-Google-Attributes: gidf8362,public X-Google-Thread: 109d8a,c7637cfdf68e766 X-Google-Attributes: gid109d8a,public From: dewar@merv.cs.nyu.edu (Robert Dewar) Subject: Re: floating point comparison Date: 1997/07/31 Message-ID: #1/1 X-Deja-AN: 261016874 References: <01bc9dca$762b6000$e1e989cc@gort> Distribution: inet Organization: New York University Newsgroups: comp.lang.ada,sci.math.num-analysis,comp.software-eng,comp.theory,sci.math Date: 1997-07-31T00:00:00+00:00 List-Id: Bob Binder says <> There is nothing to "get around" here. The IEEE floating-point standard is a well defined arithmetic system, with a well defined set of values with well defined operations on them. It is NOT, and never pretends to be, a representation of real arithmetic. It has its own laws and axioms, but they are of course different from those of real arithmetic. There is nothing special about decimal arithmetic here. The laws of physics are not made up by a deity with ten fingers. Real arithmetic is of course independent of the chosen base, but so are observations in the physical world. The IEEE fpt standard (IEEE-854) provides binary and decimal variations. It is of course the binary version that is used on most modern computers.