comp.lang.ada
 help / color / mirror / Atom feed
From: "Randy Brukardt" <randy@rrsoftware.com>
Subject: Re: Large numbers (or is Ada the choice for me?)
Date: Fri, 9 Mar 2001 15:01:17 -0600
Date: 2001-03-09T15:01:17-06:00	[thread overview]
Message-ID: <oAbq6.4263$7e6.1669748@homer.alpha.net> (raw)
In-Reply-To: 98bbbg$jmf$1@nh.pace.co.uk

Marin David Condic wrote in message <98bbbg$jmf$1@nh.pace.co.uk>...
>"Hans Georg Schaathun" <georg@ii.uib.no> 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.






  parent reply	other threads:[~2001-03-09 21:01 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-03-09 18:58 Large numbers (or is Ada the choice for me?) Hans Georg Schaathun
2001-03-09 19:35 ` Marin David Condic
2001-03-09 20:44   ` David Starner
2001-03-09 23:12     ` Marin David Condic
2001-03-10  2:56       ` David Starner
2001-03-10 11:37         ` Florian Weimer
2001-03-10  6:08       ` tmoran
2001-03-09 21:01   ` Randy Brukardt [this message]
2001-03-09 23:02   ` Robert A Duff
2001-03-09 23:28     ` Marin David Condic
2001-03-10 16:49       ` Hans Georg Schaathun
2001-03-10 11:59   ` Jeffrey Carter
2001-03-09 20:37 ` Brian Catlin
2001-03-09 21:26 ` JP Thornley
2001-03-09 21:59 ` Tucker Taft
2001-03-15  8:33   ` Modular type (Re: Large numbers) Hans Georg Schaathun
2001-03-15 10:58     ` Florian Weimer
2001-03-15 11:12       ` Hans Georg Schaathun
2001-03-15 16:24         ` Tucker Taft
2001-03-10  1:42 ` Large numbers (or is Ada the choice for me?) Keith Thompson
2001-03-19 20:48 ` Robert I. Eachus
2001-03-20  3:33   ` Brian Rogoff
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox