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-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,7a2d45f282a1da1c X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2003-08-20 12:53:17 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!headwall.stanford.edu!newshub.sdsu.edu!elnk-nf2-pas!newsfeed.earthlink.net!wn14feed!worldnet.att.net!204.127.198.203!attbi_feed3!attbi.com!rwcrnsc53.POSTED!not-for-mail Message-ID: <3F43D1AB.10205@attbi.com> From: "Robert I. Eachus" User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.0.2) Gecko/20021120 Netscape/7.01 X-Accept-Language: en-us, en MIME-Version: 1.0 Newsgroups: comp.lang.ada Subject: Re: float with 24-bit resolution References: <3F3CCB0F.543478AF@adrianhoe.nospam.com.my> <3f40a43e@baen1673807.greenlnk.net> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit NNTP-Posting-Host: 24.34.139.183 X-Complaints-To: abuse@comcast.net X-Trace: rwcrnsc53 1061409196 24.34.139.183 (Wed, 20 Aug 2003 19:53:16 GMT) NNTP-Posting-Date: Wed, 20 Aug 2003 19:53:16 GMT Organization: Comcast Online Date: Wed, 20 Aug 2003 19:53:16 GMT Xref: archiver1.google.com comp.lang.ada:41742 Date: 2003-08-20T19:53:16+00:00 List-Id: Martin Dowie wrote: > Don't forget that 'fixed-point' is itself sub-divided into 2 categories: > 'ordinary' > and 'decimal', though I've never found a need for the 'decimal' flavour > myself :-) It is more of a convenience in declaring decimal fixed point types than any inherent difference once the types are created. type Dollars is digits 9 delta 0.01; on most machines should produce exactly the same type as: type Dollars is delta 0.01 range -2.0**31/100..2.0**31/100; for Dollars'Small use 0.01; But if you are doing financial work it is much clearer. (It says I want a type that corresponds to Cobol +9999999.99. -- Robert I. Eachus "As far as I'm concerned, war always means failure." -- Jacques Chirac, President of France "As far as France is concerned, you're right." -- Rush Limbaugh