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: 103376,6a8952cbe009f3ed X-Google-NewGroupId: yes X-Google-Attributes: gida07f3367d7,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit X-Received: by 10.66.72.199 with SMTP id f7mr984814pav.12.1359116618626; Fri, 25 Jan 2013 04:23:38 -0800 (PST) Path: s9ni16919pbb.0!nntp.google.com!news.glorb.com!us.feeder.erje.net!feeder.erje.net!eu.feeder.erje.net!eternal-september.org!feeder.eternal-september.org!mx04.eternal-september.org!.POSTED!not-for-mail From: Paul Colin Gloster Newsgroups: comp.lang.ada Subject: Re: Numerical calculations: Why not use fixed point types for everything? Date: Fri, 25 Jan 2013 12:23:38 +0000 (UTC) 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, 25 Jan 2013 12:23:38 +0000 (UTC) Injection-Info: mx04.eternal-september.org; posting-host="2da593c5dc84c37dabca6edf3693dfa1"; logging-data="8301"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+s/T4f+J6cgf0ieRHo/15dnLjhgUpY9DGfqkIOEjjiqQ==" User-Agent: slrn/0.9.9p1 (Linux) Cancel-Lock: sha1:lo2ZgBOcApFz7O2iikaTCM0qdrE= Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Date: 2013-01-25T12:23:38+00:00 List-Id: On 2013-01-18, Ada novice sent: |---------------------------------------------------------------------| |"[. . .] | | | |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 so I would ask about the second| |point put by Adam that mathematical functions are slow with | |fixed-point numbers. Can you please elaborate on that? | | | |Thanks | |YC" | |---------------------------------------------------------------------| That ceased to be true for (then) new mainstream desktops during the 1990's when Intel Pentiums became popular. Unfortunately people who create books do not always bother to check if claims they make in them became out of date during a previous decade. For example, Colin Paul Gloster, "Book Review: "Optimization Algorithms in Physics"", "International Journal of Nonlinear Sciences and Numerical Simulation", June 2010, Vol. 11, No. 6, Pages 387-388.