Re: Appoximating large numbers
- From: "Bit Twiddler" <bittwiddler35@xxxxxxxxxxx>
- Date: Wed, 7 Jun 2006 17:53:07 -0400
"Julian V. Noble" <jvn@xxxxxxxxxxxx> wrote in message
The simplest method is to use a large base (or radix). I suggest
you read Knuth, "The Art of Computer Programming" for how to do
long-integer arithmetic. I am familiar with a package, "bignum",
but it is written in Forth which you probably don't know. But
I am sure analogous packages exist for C or Fortran. Google!
I guess I am doing an incredibly poor job of explaining my intention...
I am using the Ruby programming language which has support for Bignum. I
don't have any problems _working_ arithmetically with large integers. I am
asking if there exists any method/algorithm to help me find an ALTERNATE
representation of a large integer.
(e^6)^5 is an ALTERNATE representation for 10,629,803,243.
If I could figure out alternate representations for my huge (100+ digit)
integers I could use those representations to recreate those integers on the
fly - I would not have to carry around the original integers.
The techniques I have tried thus far are: simple factoring, prime factoring,
simulated anealing, etc.
If this isn't the correct group for this question please just let me know.
Thanks,
BT
.
- Follow-Ups:
- Re: Appoximating large numbers
- From: Han de Bruijn
- Re: Appoximating large numbers
- From: Roy Stogner
- Re: Appoximating large numbers
- From: Dann Corbit
- Re: Appoximating large numbers
- References:
- Appoximating large numbers
- From: Bit Twiddler
- Re: Appoximating large numbers
- From: Martin Eisenberg
- Re: Appoximating large numbers
- From: Bit Twiddler
- Re: Appoximating large numbers
- From: Julian V. Noble
- Appoximating large numbers
- Prev by Date: Re: Matrix Inverse for A where a(i,j) = i^j
- Next by Date: Re: Appoximating large numbers
- Previous by thread: Re: Appoximating large numbers
- Next by thread: Re: Appoximating large numbers
- Index(es):
Relevant Pages
|