I've pushed a repair to `bitwise-bit-field`.
Thanks for the report!
At Tue, 17 Jun 2014 07:32:22 +0400, Roman Klochkov wrote:
>
> ;; from Racket reference 4.2.2.6
> (define (bitwise-bit-field* n start end)
> (bitwise-and (sub1 (arithmetic-shift 1 (- end start)))
> (
What do you get when you evaluate #b11100010 ?
rac
On Jun 16, 2014, at 9:32 PM, Roman Klochkov wrote:
> ;; from Racket reference 4.2.2.6
> (define (bitwise-bit-field* n start end)
>(bitwise-and (sub1 (arithmetic-shift 1 (- end start)))
>(ar
;; from Racket reference 4.2.2.6
(define (bitwise-bit-field* n start end)
(bitwise-and (sub1 (arithmetic-shift 1 (- end start)))
(arithmetic-shift n (- start
> (bitwise-bit-field #b11100010 0 31)
-30
> (bitwise-bit-field* #b111
3 matches
Mail list logo