Re: What´s the algorithm that compresses a 20 digit big int, into 8 bytes ?
From: Sampo Syreeni <decoy_at_iki.fi>
Date: Thu, 8 Apr 2010 06:57:17 -0700 (PDT)
Message-ID: <30186afd-343b-4421-9dd0-faf2a79f5a10_at_30g2000yqi.googlegroups.com>
Date: Thu, 8 Apr 2010 06:57:17 -0700 (PDT)
Message-ID: <30186afd-343b-4421-9dd0-faf2a79f5a10_at_30g2000yqi.googlegroups.com>
On Mar 24, 8:24 pm, Bob Badour <bbad..._at_pei.sympatico.ca> wrote:
> My apologies. The "converts to binary" part was so obvious I didn't
> think of it as an algorithm. I guess I lost the forest among the trees.
Unless my trusty old TI-86 is losing precision in embarrassing places,
I should also add that 64 bits doesn't quite suffice for 20 decimal
digits; it has 18 per cent or so of the total range, so you'd have to
go with 19 digits or three extra bits.
--
Sampo
Received on Thu Apr 08 2010 - 15:57:17 CEST