Re: Arithmetic issues Andre van Tonder 19 Oct 2005 15:59 UTC

On Wed, 19 Oct 2005, Aubrey Jaffer wrote:

> | From: Andre van Tonder <xxxxxx@now.het.brown.edu>
> |
> | 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
> R5RS Scheme.
>
> (BITWISE-NOT 42)  ==>  -43

Oops, sorry.  My mistake...

Andre