[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Scheme-reports] Bitwise operations on bytes

 | From: Alan Watson <alan@x>
 | Date: Thu, 29 Mar 2012 10:39:39 -0600
 | > We did strongly consider incorporating bitwise operations
 | > as in (srfi 33) / (rnrs arithmetic bitwise), and decided to
 | > leave it to the large language.  There was no question of it
 | > being controversial or of limited use, it's simply one place
 | > we decided to draw the line between large and small.
 | I'm sure you did consider those libraries.  However, they specify
 | bitwise operations on integers of somewhat uncertain range, which
 | opens a can of worms.

See <http://srfi.schemers.org/srfi-60/srfi-60.html>.  Bitwise
operations on integers (both positive and negative) are well defined
and implementable in pure R4RS using no more bits than the input

Scheme-reports mailing list