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.1 required=5.0 tests=BAYES_00, PP_MIME_FAKE_ASCII_TEXT autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII X-Google-Thread: 103376,7a2d45f282a1da1c X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2003-08-22 09:05:04 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!skynet.be!skynet.be!freenix!oleane.net!oleane!nnrp.oleane.net!skymaster!nobody From: "Jean-Pierre Rosen" Newsgroups: comp.lang.ada Subject: Re: float with 24-bit resolution Date: Fri, 22 Aug 2003 17:12:03 +0200 Organization: Adalog Message-ID: References: <3F3CCB0F.543478AF@adrianhoe.nospam.com.my> <3f40a43e@baen1673807.greenlnk.net> <3F43D1AB.10205@attbi.com> <3F44CF31.570ADCFA@raytheon.com> <3F4623A7.6718B8C0@raytheon.com> NNTP-Posting-Host: mailhost.axlog.fr X-Trace: s1.read.news.oleane.net 1061568073 22812 195.25.228.57 (22 Aug 2003 16:01:13 GMT) X-Complaints-To: abuse@oleane.net NNTP-Posting-Date: Fri, 22 Aug 2003 16:01:13 +0000 (UTC) X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1158 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 Xref: archiver1.google.com comp.lang.ada:41789 Date: 2003-08-22T17:12:03+02:00 List-Id: "Mark Johnson" a �crit dans le message de news:3F4623A7.6718B8C0@raytheon.com... [...] > As I mentioned before, you certainly have to do the "right thing" when > it comes to doing arithmetic and conversions to other forms, but fixed > point decimal arithmetic without packed decimal data types can be done > without introducing any errors. > True. What you are doing is simply doing by hand what the compiler would do, with a higher probability of introducing errors (fixed points are tricky, believe me!). It's OK if your language has no decimal fixed points. Otherwise, it's more work without any benefit. -- --------------------------------------------------------- J-P. Rosen (rosen@adalog.fr) Visit Adalog's web site at http://www.adalog.fr