scsh-users
[Top] [All Lists]

bitwise ops on 32-bit word

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>