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,69bb03cc695b330a X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2001-03-09 13:05:28 PST Path: supernews.google.com!sn-xit-02!sn-xit-01!supernews.com!newsfeed.stanford.edu!bloom-beacon.mit.edu!4.24.21.218.MISMATCH!cpk-news-hub1.bbnplanet.com!cambridge1-snf1.gtei.net!news.gtei.net!homer.alpha.net!not-for-mail From: "Randy Brukardt" Newsgroups: comp.lang.ada References: <98bbbg$jmf$1@nh.pace.co.uk> Subject: Re: Large numbers (or is Ada the choice for me?) X-Newsreader: Microsoft Outlook Express 4.72.3612.1700 X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3719.2500 Message-ID: Date: Fri, 9 Mar 2001 15:01:17 -0600 NNTP-Posting-Host: 156.46.62.124 X-Complaints-To: abuse@alpha.net X-Trace: homer.alpha.net 984171924 156.46.62.124 (Fri, 09 Mar 2001 15:05:24 CST) NNTP-Posting-Date: Fri, 09 Mar 2001 15:05:24 CST Xref: supernews.google.com comp.lang.ada:5583 Date: 2001-03-09T15:01:17-06:00 List-Id: Marin David Condic wrote in message <98bbbg$jmf$1@nh.pace.co.uk>... >"Hans Georg Schaathun" wrote in message >news:slrn9ai9uk.iv9.georg@apal.ii.uib.no... >I know of none in existence, but that doesn't mean there isn't one. Try >Adapower &/or Google. Every Ada compiler has a (nearly) infinite precision math package built-in. That's because of the requirements of the ACATS on literals: 3#0.1# /= 0.333333333333333333333333333333333333333333333333 And if there is any rounding, you'll fail this test. But those packages are part of the compiler, not something usually available to the public. The one in Janus/Ada is full of assembler and weird usage rules (the latter because it was written in Ada 83, and we didn't have controlled types to do the cleanup). The guy who wrote it for use created a cute little calculator using it, and included some scripts to calculate PI to 1000 digits and other useless tasks... :-) Randy.