Mailing List Archive: 49091 messages
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search

[REBOL] Re: Big number calculations

From: ryanc:iesco-dms at: 21-Feb-2001 11:35

What type of numbers are we talking about? Is there any type of commonality between these numbers? For instance if you are representing a binary progression, the number "9" could have and equivelent decimal system value of 512. Another way to think about this technique is degrees used to measure an angle. Accounting for the numbers range could also be benificial in a shorter representation. Also what degree of accuracy is desired? Using a high number base could make a considerable difference. REBOL supports base 64, and if you brew your own you probably could achieve around base 94 by using common ascii characters. If your trying to save disk or memory space, using raw binary representation (ie "A" = 65 "AA" = 16705) is sensible. Of course many number representations would yeild characters that are not necessarily visible. And of course there is always compression. --Ryan [ptretter--norcom2000--com] wrote: