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.3 required=5.0 tests=BAYES_00,MAILING_LIST_MULTI, REPLYTO_WITHOUT_TO_CC autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,7cda96e9413b780c X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2002-07-17 01:33:04 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!fr.usenet-edu.net!usenet-edu.net!enst!enst.fr!not-for-mail From: "Vadim Godunko" Newsgroups: comp.lang.ada Subject: Re: Floating Decimal Package/Library? Date: Wed, 17 Jul 2002 12:28:27 +0400 Organization: ENST, France Sender: comp.lang.ada-admin@ada.eu.org Message-ID: References: <3D345DB3.5080609@cogeco.ca> Reply-To: comp.lang.ada@ada.eu.org NNTP-Posting-Host: marvin.enst.fr Mime-Version: 1.0 Content-Type: text/plain; charset="koi8-r" Content-Transfer-Encoding: 7bit X-Trace: avanie.enst.fr 1026894784 8283 137.194.161.2 (17 Jul 2002 08:33:04 GMT) X-Complaints-To: usenet@enst.fr NNTP-Posting-Date: Wed, 17 Jul 2002 08:33:04 +0000 (UTC) Return-Path: X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4133.2400 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 Errors-To: comp.lang.ada-admin@ada.eu.org X-BeenThere: comp.lang.ada@ada.eu.org X-Mailman-Version: 2.0.11 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: comp.lang.ada mail<->news gateway List-Unsubscribe: , Errors-To: comp.lang.ada-admin@ada.eu.org X-BeenThere: comp.lang.ada@ada.eu.org Xref: archiver1.google.com comp.lang.ada:27183 Date: 2002-07-17T12:28:27+04:00 > > Finally, I should mention that I am using GNAT. Unless I > > am mistaken, it seemed that the decimal support wasn't > > exactly decimal (I'd have to go back and recheck, but I > > got the impression that it is implemented in binary > > floating point). If it truly is implemented in decimal, > You got the wrong impression. Decimal is implemented as > decimal, not binary. GNAT implement decimals as binary fixed point values. Another way to implement fixed point decimals is packed or not packed binary-coded decimals (BCD). Please get agreement with terminology.