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-7-bit X-Received: by 10.180.100.74 with SMTP id ew10mr1009569wib.7.1359079776727; Thu, 24 Jan 2013 18:09:36 -0800 (PST) Path: i11ni18225wiw.0!nntp.google.com!feeder1.cambriumusenet.nl!82.197.223.103.MISMATCH!feeder3.cambriumusenet.nl!feed.tweaknews.nl!193.141.40.65.MISMATCH!npeer.de.kpn-eurorings.net!npeer-ng0.de.kpn-eurorings.net!news.bawue.net!storethat.news.telefonica.de!telefonica.de!weretis.net!feeder1.news.weretis.net!news.albasani.net!newsfeed.freenet.ag!news2.euro.net!209.197.12.246.MISMATCH!nx02.iad01.newshosting.com!newshosting.com!news-out.readnews.com!transit3.readnews.com!panix!newsfeed-00.mathworks.com!nntp.TheWorld.com!.POSTED!not-for-mail From: Robert A Duff Newsgroups: comp.lang.ada Subject: Re: Numerical calculations: Why not use fixed point types for everything? Date: Sat, 19 Jan 2013 09:14:19 -0500 Organization: The World Public Access UNIX, Brookline, MA Message-ID: References: <4905b963-0036-4129-8050-fb26ef0154d6@googlegroups.com> <32314026-23ae-45b8-a4c5-e589e7d79de2@googlegroups.com> <3l3jf85ae05qgsl2l0avomebmg2ogl17rq@invalid.netcom.com> <13febf5c-4e3c-4275-8ff4-0a3a9e885d31@googlegroups.com> NNTP-Posting-Host: shell01.theworld.com Mime-Version: 1.0 X-Trace: pcls6.std.com 1358604859 28090 192.74.137.71 (19 Jan 2013 14:14:19 GMT) X-Complaints-To: abuse@TheWorld.com NNTP-Posting-Date: Sat, 19 Jan 2013 14:14:19 +0000 (UTC) User-Agent: Gnus/5.1008 (Gnus v5.10.8) Emacs/21.3 (irix) Cancel-Lock: sha1:ELj38BeuzZQ5tVOwJnnJ6108r0Y= Content-Type: text/plain; charset=us-ascii Date: 2013-01-19T09:14:19-05:00 List-Id: Jeffrey Carter writes: > I decided to run a test. My results: Thanks -- it's good to have actual numbers. But the choice between floating- and fixed-point should not be made primarily on the basis of speed. It should be based on the needs of the problem, such as whether you want relative or absolute errors. Unless you're running on a machine with no hardware support for floating point. - Bob