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 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: a07f3367d7,6a8952cbe009f3ed X-Google-Attributes: gida07f3367d7,public,usenet X-Google-NewGroupId: yes X-Google-Language: ENGLISH,ASCII X-Received: by 10.180.74.141 with SMTP id t13mr974446wiv.5.1359079550031; Thu, 24 Jan 2013 18:05:50 -0800 (PST) Path: o9ni18185wio.1!nntp.google.com!feeder1.cambriumusenet.nl!feed.tweaknews.nl!85.12.40.131.MISMATCH!xlned.com!feeder3.xlned.com!npeer.de.kpn-eurorings.net!npeer-ng0.de.kpn-eurorings.net!news.bawue.net!storethat.news.telefonica.de!telefonica.de!serpens!newsmonster.de!news1.tnib.de!feed.news.tnib.de!news.tnib.de!weretis.net!feeder4.news.weretis.net!eternal-september.org!feeder.eternal-september.org!mx04.eternal-september.org!.POSTED!not-for-mail From: "J-P. Rosen" Newsgroups: comp.lang.ada Subject: Re: Numerical calculations: Why not use fixed point types for everything? Date: Fri, 18 Jan 2013 18:24:54 +0100 Organization: A noiseless patient Spider Message-ID: References: <4905b963-0036-4129-8050-fb26ef0154d6@googlegroups.com> <32314026-23ae-45b8-a4c5-e589e7d79de2@googlegroups.com> Mime-Version: 1.0 Injection-Date: Fri, 18 Jan 2013 17:24:54 +0000 (UTC) Injection-Info: mx04.eternal-september.org; posting-host="da91dd38436bbbf5b448e21e8f29aa94"; logging-data="21900"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX194ar1ofkYDlNFf2Kjz7tGx" User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/20130107 Thunderbird/17.0.2 In-Reply-To: <32314026-23ae-45b8-a4c5-e589e7d79de2@googlegroups.com> Cancel-Lock: sha1:PKcg8zAKKBuEuByfO/+x/Sfhzuo= X-Enigmail-Version: 1.5 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Date: 2013-01-18T18:24:54+01:00 List-Id: Le 18/01/2013 10:17, Ada novice a �crit : > I have read (John Mc Cormick: Building parallel...with Ada's book) > that fixed point arithmetic is faster than floating-point arithmetic > since integer instructions are faster General advice: don't assume anything about speed unless you had a chance to measure it. I heard a claim that with modern co-processors, floating point arithmetic was faster than integer arithmetic. Since the claim was by Robert Dewar, it is worth considering... -- J-P. Rosen Adalog 2 rue du Docteur Lombard, 92441 Issy-les-Moulineaux CEDEX Tel: +33 1 45 29 21 52, Fax: +33 1 45 29 25 00 http://www.adalog.fr