guile-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: scm_bits_t / scm_ubits_t


From: Jacques A. Vidrine
Subject: Re: scm_bits_t / scm_ubits_t
Date: Mon, 11 Jun 2001 11:02:23 -0500
User-agent: Mutt/1.2.5i

On Sun, Jun 10, 2001 at 09:48:31PM +0300, Michael Livshin wrote:
> list length is bounded thusly:
> [ 0 : 1 << (sizeof (cell *) * sizeof (char) - sizeof (cell)) ]
                                ^^^^^^^^^^^^^
                                sizeof(char) == 1, always

Can that be  right?  I think something must have  been left out.  This
gives a range that is way too small (less than [0:16]).

> i.e. the upper bound is (modulo a little shift) the memory size.  so
> why would uintptr_t _not_ be the right type for it?
> 
> probably I'm missing something here.

But at least you are not the only one :-)
-- 
Jacques Vidrine / address@hidden / address@hidden / address@hidden



reply via email to

[Prev in Thread] Current Thread [Next in Thread]