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: f43e6,c7637cfdf68e766 X-Google-Attributes: gidf43e6,public X-Google-Thread: 109d8a,c7637cfdf68e766 X-Google-Attributes: gid109d8a,public X-Google-Thread: 103376,c7637cfdf68e766 X-Google-Attributes: gid103376,public X-Google-Thread: 107079,c7637cfdf68e766 X-Google-Attributes: gid107079,public X-Google-Thread: f8362,c7637cfdf68e766 X-Google-Attributes: gidf8362,public From: Robin Rosenberg Subject: Re: floating point comparison Date: 1997/09/11 Message-ID: #1/1 X-Deja-AN: 271457467 Distribution: inet Sender: administrat�r@funsys References: <33EA46CC.226@pseserv3.fw.hac.com> <871377938snz@nezumi.demon.co.uk> <33FE4D83.4DCD@pseserv3.fw.hac.com> Organization: Enator Objective Management AB Newsgroups: comp.lang.ada,sci.math.num-analysis,comp.software-eng,comp.theory,sci.math Date: 1997-09-11T00:00:00+00:00 List-Id: eachus@spectre.mitre.org (Robert I. Eachus) writes: > For many calculations floating point offers convenience while > preserving more than enough numerical accuracy. On other types of > calculations, fixed point accuracy is required. (For example, > checking your bank statement can only be done correctly using fixed > point, and knowing the rules for computing interest on that account.) > If you can't tell which you should be using, get help fast. I used to think so too, until I read Sun's Numerical Computation Guide (http://docs.sun.com), which states otherwise. In particular, see the chapter "What Every Computer Scientist Should Know About Floating Point Arithmetic". -- Robin Rosenberg, | Voice: +46-8-7036200 | "Any opinions are my own, etc. etc." Enator Objective | Fax: (+46-8-7036283)| Management AB | Mail: rrg@funsys.se |