[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Arithmetic issues
On Wed, 19 Oct 2005, Aubrey Jaffer wrote:
| From: Andre van Tonder <andre@xxxxxxxxxxxxxxxxx>
| I share the discomfort with the bitwise operations. As far as I
| can tell, the SRFI does not portably specify the value of
| (BITWISE-NOT 42).
SRFI-60 "Integers as Bits" defines the bitwise operations for all
integers. And the reference implementation is written portably in
(BITWISE-NOT 42) ==> -43
Oops, sorry. My mistake...