[plt-scheme] Integer-length

From: Jens Axel Søgaard (jensaxel at soegaard.net)
Date: Wed Mar 22 16:11:10 EST 2006

Jim Blandy wrote:
> What's frustrating here is that, for bignums, the system has an
> approximation to the log base 2--- the length of the number in memory
> --- right there, but it won't give it to you.  So you should be able
> to get it in constant time.

Yes - adding integer-length as a primitive would make a lot of sense.

-- 
Jens Axel Søgaard





Posted on the users mailing list.