[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: uvect & ivect: uniform vector of long or int?
From: |
Michael Livshin |
Subject: |
Re: uvect & ivect: uniform vector of long or int? |
Date: |
19 May 2001 20:06:25 +0300 |
User-agent: |
Gnus/5.0808 (Gnus v5.8.8) XEmacs/21.4 (Copyleft) |
Eric Moore <address@hidden> writes:
> >>>>> "Michael" == Michael Livshin <address@hidden> writes:
>
> Michael> note that it doesn't matter on the common platforms anyway,
> Michael> they all have
> Michael> sizeof(int)==sizeof(long)==sizeof(size_t)==sizeof(void *).
> Michael> this doesn't mean other situations are inconceivable, though.
>
> Alphas have sizeof(int)!=sizeof(long) (4 and 8 bytes, respectively)
heh. I thought Alpha's ints are 8 bytes. silly me.
OK, long it stays, and I'll tweak the docs instead.
thanks,
--mike
--
Experienced C programmers are rearer than they think.
-- Joe Marshall, comp.lang.lisp