| To: | scsh-news@zurich.ai.mit.edu |
|---|---|
| Subject: | bitwise ops on 32-bit word |
| From: | suranap@hotmail.com (Pinku Surana) |
| Date: | 12 Aug 2003 12:35:00 -0700 |
| Organization: | http://groups.google.com/ |
This fails in s48 since, I assume, it uses 29-bit ints. How can one do
bitwise ops on 32-bit ints? Thanks.
> (arithmetic-shift #x1fffffff 1)
Error: exception
wrong-type-argument
(arithmetic-shift 536870911 1)
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: cons!, Michael Sperber |
|---|---|
| Next by Date: | Re: bitwise ops on 32-bit word, Michael Sperber |
| Previous by Thread: | cons!, Grant Miner |
| Next by Thread: | Re: bitwise ops on 32-bit word, Michael Sperber |
| Indexes: | [Date] [Thread] [Top] [All Lists] |