* Working with very large numbers.
@ 2001-07-09 2:07 McDoobie
2001-07-09 2:54 ` James Rogers
0 siblings, 1 reply; 4+ messages in thread
From: McDoobie @ 2001-07-09 2:07 UTC (permalink / raw)
Alright...I know about long_integers and long_long_integers and all that.
What I'm trying to figure out is how do I work with numbers in which the
standard supplied types are just too small? Specifically, how do I allocate
storage dynamically based upon the size of the integer entered?
I was thinking about using something along the lines of ...
type big_ass_num;
type biggie_ptr is access big_ass_num;
type big_ass_num is (s , (len)'value);
Big_Kahuna: biggie_ptr'(big_ass_num'Range(<>));
Little_Kahuna: biggie_ptr'(big_ass_num'Range( Big_Kahuna > ... (<>));
Or some crazy crap along those lines.
Anyways, as you can tell, I havent quite got the gist of it yet.
Any help would be appreciated.
McDoobie
chris@dont.spam.me
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Working with very large numbers.
2001-07-09 2:07 Working with very large numbers McDoobie
@ 2001-07-09 2:54 ` James Rogers
2001-07-09 4:05 ` McDoobie
0 siblings, 1 reply; 4+ messages in thread
From: James Rogers @ 2001-07-09 2:54 UTC (permalink / raw)
Sounds like you want extended precision numbers. Look on the adapower
web site for a package enabling just such types.
Jim Rogers
Colorado Springs, Colorado USA
McDoobie wrote:
>
> Alright...I know about long_integers and long_long_integers and all that.
>
> What I'm trying to figure out is how do I work with numbers in which the
> standard supplied types are just too small? Specifically, how do I allocate
> storage dynamically based upon the size of the integer entered?
>
> I was thinking about using something along the lines of ...
>
> type big_ass_num;
> type biggie_ptr is access big_ass_num;
>
> type big_ass_num is (s , (len)'value);
>
> Big_Kahuna: biggie_ptr'(big_ass_num'Range(<>));
> Little_Kahuna: biggie_ptr'(big_ass_num'Range( Big_Kahuna > ... (<>));
>
> Or some crazy crap along those lines.
>
> Anyways, as you can tell, I havent quite got the gist of it yet.
>
> Any help would be appreciated.
>
> McDoobie
> chris@dont.spam.me
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Working with very large numbers.
2001-07-09 2:54 ` James Rogers
@ 2001-07-09 4:05 ` McDoobie
2001-07-09 12:42 ` Marc A. Criley
0 siblings, 1 reply; 4+ messages in thread
From: McDoobie @ 2001-07-09 4:05 UTC (permalink / raw)
In article <3B491D56.65532261@worldnet.att.net>, James Rogers
<jimmaureenrogers@worldnet.att.net> wrote:
> Sounds like you want extended precision numbers. Look on the adapower
> web site for a package enabling just such types.
>
> Jim Rogers Colorado Springs, Colorado USA
>
I found the Unlimited Numbers package, but the link seems to be broken.
I'll keep poking around to see if I can come up with something.
McDoobie
chris@dont.spam.me
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Working with very large numbers.
2001-07-09 4:05 ` McDoobie
@ 2001-07-09 12:42 ` Marc A. Criley
0 siblings, 0 replies; 4+ messages in thread
From: Marc A. Criley @ 2001-07-09 12:42 UTC (permalink / raw)
McDoobie wrote:
>
> In article <3B491D56.65532261@worldnet.att.net>, James Rogers
> <jimmaureenrogers@worldnet.att.net> wrote:
>
> > Sounds like you want extended precision numbers. Look on the adapower
> > web site for a package enabling just such types.
> >
> > Jim Rogers Colorado Springs, Colorado USA
> >
>
> I found the Unlimited Numbers package, but the link seems to be broken.
>
> I'll keep poking around to see if I can come up with something.
>
Also on AdaPower is a link to the "Big Numbers" page:
http://www.chez.com/bignumber/index.html
Marc A. Criley
Senior Staff Engineer
Quadrus Corporation
www.quadruscorp.com
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2001-07-09 12:42 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-07-09 2:07 Working with very large numbers McDoobie
2001-07-09 2:54 ` James Rogers
2001-07-09 4:05 ` McDoobie
2001-07-09 12:42 ` Marc A. Criley
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox