comp.lang.ada
 help / color / mirror / Atom feed
From: dvdeug@x8b4e53cd.dhcp.okstate.edu (David Starner)
Subject: Re: Large numbers (or is Ada the choice for me?)
Date: 10 Mar 2001 02:56:09 GMT
Date: 2001-03-10T02:56:09+00:00	[thread overview]
Message-ID: <98c549$7hu1@news.cis.okstate.edu> (raw)
In-Reply-To: 98bo2p$njh$1@nh.pace.co.uk

On Fri, 9 Mar 2001 18:12:56 -0500, Marin David Condic <marin.condic.auntie.spam@pacemicro.com> wrote:
>"David Starner" <dvdeug@x8b4e53cd.dhcp.okstate.edu> wrote in message
>news:98bfb2$a2g1@news.cis.okstate.edu...
>> Yes. Computers can handle fractions just fine with the appropriate
>> package. I'm not sure it's feasible to have no approximations in a large
>> system of linear equations, but it's possible.
>>
>Maybe a bad example - my point is that there exists a possibility of
>generating numbers which are going to have an infinite number of decimal
>places and memory only goes so far. Hence, you're going to need some sort of
>approximation.

No, not if you want to expand the complexity. Every irrational number you 
would probably need you could express in terms of pi, e, sqrt, cube roots,
sin, and rational numbers.

>For matrix stuff, you might theoretically be able to handle the math
>entirely in fractions, but would you like the solution in our lifetime? :-)
>(Simulated big number math is probably bad enough!)

Depending on what you're doing, it may be fast enough. My question is
where do you prefer 12038838484884757761111111111456646243627 /
12883848484058534671734792837598275927 to the equivelent decimal 
solution.

-- 
David Starner - dstarner98@aasaa.ofe.org
Pointless website: http://dvdeug.dhis.org
"I don't care if Bill personally has my name and reads my email and 
laughs at me. In fact, I'd be rather honored." - Joseph_Greg



  reply	other threads:[~2001-03-10  2:56 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 [this message]
2001-03-10 11:37         ` Florian Weimer
2001-03-10  6:08       ` tmoran
2001-03-09 21:01   ` Randy Brukardt
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