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: f8362,c7637cfdf68e766 X-Google-Attributes: gidf8362,public X-Google-Thread: 103376,c7637cfdf68e766 X-Google-Attributes: gid103376,public X-Google-Thread: f43e6,c7637cfdf68e766 X-Google-Attributes: gidf43e6,public X-Google-Thread: 109d8a,c7637cfdf68e766 X-Google-Attributes: gid109d8a,public From: jac@ibms48.scri.fsu.edu (Jim Carr) Subject: Re: floating point comparison Date: 1997/09/10 Message-ID: <5v73kd$622$1@news.fsu.edu>#1/1 X-Deja-AN: 271401455 Distribution: inet References: <5ud3mc$5d2$1@news.fsu.edu> Organization: Supercomputer Computations Research Institute Newsgroups: comp.lang.ada,sci.math.num-analysis,comp.software-eng,comp.theory,sci.math Date: 1997-09-10T00:00:00+00:00 List-Id: James said | | Not quite. I have made the decision to represent a real number in | a way restricted to a finite number of digits. It does not matter | if they are binary or decimal. (Yes, I know what you probably | meant to write, but saying "decimal value" carries various meanings | as well.) dewar@merv.cs.nyu.edu (Robert Dewar) writes: > >Actually I meant decimal, see your original post, you specifically have >given an example of a number representable exactly in decimal, and not >in binary, and this is indeed a common case. Sure, but I could have given a number like 1./3. that is not exactly represented in decimal. When exploring whether your calculator uses a binary or decimal representation in its registers, this is also a common case. -- James A. Carr | Commercial e-mail is _NOT_ http://www.scri.fsu.edu/~jac/ | desired to this or any address Supercomputer Computations Res. Inst. | that resolves to my account Florida State, Tallahassee FL 32306 | for any reason at any time.