>>>>> "Pinku" == Pinku Surana <suranap@hotmail.com> writes:
Pinku> This fails in s48 since, I assume, it uses 29-bit ints. How can one do
Pinku> bitwise ops on 32-bit ints? Thanks.
>> (arithmetic-shift #x1fffffff 1)
Pinku> Error: exception
Pinku> wrong-type-argument
Pinku> (arithmetic-shift 536870911 1)
As far as I can see, this fails neither in scsh 0.6.4 nor in Scheme 48
0.57. What version are you using? (I seem to remember some old
versions required one to open a "bigbit" or some such package.)
--
Cheers =8-} Mike
Friede, Völkerverständigung und überhaupt blabla
|