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: 103376,183ebe04e93f0506 X-Google-Attributes: gid103376,public X-Google-Thread: 107079,183ebe04e93f0506 X-Google-Attributes: gid107079,public From: dewar@merv.cs.nyu.edu (Robert Dewar) Subject: Re: fixed point vs floating point Date: 1997/11/25 Message-ID: #1/1 X-Deja-AN: 292614007 Distribution: inet References: <65846t$4vq$1@gonzo.sun3.iaf.nl> <65c58j$1302@mean.stat.purdue.edu> X-Complaints-To: usenet@news.nyu.edu X-Trace: news.nyu.edu 880487669 20067 (None) 128.122.140.58 Organization: New York University Newsgroups: comp.lang.ada,sci.math.num-analysis Date: 1997-11-25T00:00:00+00:00 List-Id: Joe says <> While I can't speak for all Ada 83 compilers, I certainly know many of them that did fixed-point just fine. It has actually been my experience that in most cases where users thought Ada 83 compilers were doing things wrong, it was because they did not understand the Ada 83 fixed-point semantics properly, so it would be interesting to know specifically what Joe is referring to. <> So how do we square this with Robert Eachus claim that it is *easier* to analyze fixed-point code. Simple actually, it depends on what you are doing. If you are writing code casually, without careful error analysis, then it is indeed true that floating-point is easier, but if you are doing careful error analysis, then fixed-point is usually easier. Joe's offhand comment about errors not being an issue for most physics-based mathematical code (I do not agree!) clearly indicates that we are dealing with the casual approach here, so in that context Joe's comment makes good sense. <> I really don't know what problems might be fixed, since I don't know of problems in Ada 83, at least not ones that are likely to be what Joe is referring to, so I can't say whether these problems have been fixed! Certainly to the extent that Joe was seeing compiler bugs in compilers I am unfamiliar with, this seems to have no relationship to Ada 95.