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.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: a07f3367d7,63043e3a9a3d050f X-Google-Attributes: gida07f3367d7,public,usenet X-Google-NewGroupId: yes X-Google-Language: ENGLISH,UTF8 Path: g2news1.google.com!news4.google.com!feeder2.cambriumusenet.nl!feed.tweaknews.nl!193.201.147.71.MISMATCH!xlned.com!feeder3.xlned.com!feeder.news-service.com!94.75.214.39.MISMATCH!aioe.org!not-for-mail From: =?utf-8?Q?Yannick_Duch=C3=AAne_=28Hibou57?= =?utf-8?Q?=29?= Newsgroups: comp.lang.ada Subject: Re: loop problem with exit condition Date: Tue, 26 Oct 2010 04:59:30 +0200 Organization: Ada @ Home Message-ID: References: <3087f399-2cae-4bc8-bba1-e728943473bb@e14g2000yqe.googlegroups.com> <1spdu1yb2khd0$.rk8xvebgn574.dlg@40tude.net> NNTP-Posting-Host: o1huFJB2ANcHlWoNFASSiA.user.speranza.aioe.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed; delsp=yes Content-Transfer-Encoding: Quoted-Printable X-Complaints-To: abuse@aioe.org X-Notice: Filtered by postfilter v. 0.8.2 User-Agent: Opera Mail/10.63 (Win32) Xref: g2news1.google.com comp.lang.ada:14776 Date: 2010-10-26T04:59:30+02:00 List-Id: Le Sun, 26 Sep 2010 11:10:24 +0200, Dmitry A. Kazakov = a =C3=A9crit: > in your case the simplest way to remove bias would be to multiply the = = > step: > [=E2=80=A6] > Inner :=3D Inner_Start + Inner_Step * Long_Float (J - 1); I did not knew that. Why is an iterative addition less accurate than a = multiplication ? Does it have something to deal with adjustment of the = exponent ? (the one of the float's internal representation) -- = Si les chats miaulent et font autant de vocalises bizarres, c=E2=80=99es= t pas pour = les chiens.