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.3 required=5.0 tests=BAYES_00, REPLYTO_WITHOUT_TO_CC autolearn=no autolearn_force=no version=3.4.4 X-Google-Thread: 103376,5412c98a3943e746 X-Google-NewGroupId: yes X-Google-Attributes: gida07f3367d7,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Received: by 10.68.201.129 with SMTP id ka1mr3925410pbc.6.1331761968983; Wed, 14 Mar 2012 14:52:48 -0700 (PDT) Path: h9ni26564pbe.0!nntp.google.com!news1.google.com!goblin2!goblin.stu.neva.ru!aioe.org!.POSTED!not-for-mail From: "Dmitry A. Kazakov" Newsgroups: comp.lang.ada Subject: Re: REAL Date: Wed, 14 Mar 2012 22:52:42 +0100 Organization: cbb software GmbH Message-ID: <96boi122v33u.h2575ryseovw.dlg@40tude.net> References: <4edda5mav3cf$.149pbgyxl1wx5.dlg@40tude.net> <9rplcgF5a2U1@mid.individual.net> <1psd0g0womgxi.1sle7ol12x3d5.dlg@40tude.net> <9rsahhFmr3U1@mid.individual.net> <9rvdjvFfa8U1@mid.individual.net> <4pp58h1br5sp$.yylr20e5vzxb.dlg@40tude.net> <9s1s7tF6pcU1@mid.individual.net> <1oln2mjlozzh5$.1mxrd97lrgndo.dlg@40tude.net> <9s4mseFuoaU1@mid.individual.net> <9sb3l3Fs4oU1@mid.individual.net> <4f6063b7$0$6642$9b4e6d93@newsspool2.arcor-online.net> <4f609d6a$0$6628$9b4e6d93@newsspool2.arcor-online.net> <1u0x151ebygpz$.1f4x12uo70ifu$.dlg@40tude.net> Reply-To: mailbox@dmitry-kazakov.de NNTP-Posting-Host: /bBpnkeEm9kG1v1C1CjDFw.user.speranza.aioe.org Mime-Version: 1.0 X-Complaints-To: abuse@aioe.org User-Agent: 40tude_Dialog/2.0.15.1 X-Notice: Filtered by postfilter v. 0.8.2 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Date: 2012-03-14T22:52:42+01:00 List-Id: On Wed, 14 Mar 2012 20:37:28 +0000 (UTC), Brian Drummond wrote: > On Wed, 14 Mar 2012 14:51:59 +0100, Dmitry A. Kazakov wrote: > >> Comparing to analytical methods of error estimation. Intervals give a >> pessimistic one. > > Indeed. As has been pointed out frequently on comp.arch by (I think) Nick > Maclaren, any sufficiently complex calculation in interval arithmetic > will return the interval (-inf, +inf). That depends on the nature of computations. Complex direct numerically instable computation which evaluate garbage are no better. Normally computations are iterative, actually narrowing the interval rather than widening it. >> A manual analysis based on additional knowledge >> (especially if variables are dependant) may sufficiently improve the >> estimation. > > But surely the same analysis can be performed on float arithmetic - > admittedly this time, to widen the estimated range. Not necessarily. Example: x + x. When replaced by 2*x, it would have no effect on the accuracy of floating-point computation, while may narrow the interval. -- Regards, Dmitry A. Kazakov http://www.dmitry-kazakov.de