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: a07f3367d7,6a8952cbe009f3ed X-Google-Attributes: gida07f3367d7,public,usenet X-Google-NewGroupId: yes X-Google-Language: ENGLISH,ASCII-7-bit X-Received: by 10.180.94.8 with SMTP id cy8mr1700784wib.1.1358654426701; Sat, 19 Jan 2013 20:00:26 -0800 (PST) Path: o9ni8353wio.1!nntp.google.com!feeder1.cambriumusenet.nl!82.197.223.108.MISMATCH!feeder2.cambriumusenet.nl!feed.tweaknews.nl!85.12.40.131.MISMATCH!xlned.com!feeder3.xlned.com!news.astraweb.com!border5.a.newsrouter.astraweb.com!border2.nntp.ams.giganews.com!nntp.giganews.com!news.teledata-fn.de!weretis.net!feeder4.news.weretis.net!rt.uk.eu.org!aioe.org!.POSTED!not-for-mail From: "Nasser M. Abbasi" Newsgroups: comp.lang.ada Subject: Re: Numerical calculations: Why not use fixed point types for everything? Date: Thu, 17 Jan 2013 08:40:04 -0600 Organization: Aioe.org NNTP Server Message-ID: References: Reply-To: nma@12000.org NNTP-Posting-Host: YvfmQqiCKwSSSxBXoyw4OA.user.speranza.aioe.org Mime-Version: 1.0 X-Complaints-To: abuse@aioe.org User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130106 Thunderbird/17.0.2 X-Notice: Filtered by postfilter v. 0.8.2 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Date: 2013-01-17T08:40:04-06:00 List-Id: On 01/17/2013 04:33 AM, Ada novice wrote: > > I understand that it is a question of portability as well >as the actual delta that would be used would perhaps not be >the same for all machines and for all compilers. > There is good article on this here: http://www.dspguide.com/ch28/4.htm (this assumes the hardware can run both floating point and fixed point, not all hardware supports fixed point. From the above it says "fixed point DSPs are generally cheaper, while floating point devices have better precision, higher dynamic range, and a shorter development cycle" I suppose if the hardware does not support fixed point, this is handled by a software library or the run-time, and will be slower than floating point. --Nasser