Skip to content

Commit

Permalink
Fixed bug in bignum-shift-right! (#801).
Browse files Browse the repository at this point in the history
  • Loading branch information
WillClinger committed Jun 26, 2017
1 parent ca6c646 commit 5af5135
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/Lib/Common/bignums-el.sch
Original file line number Diff line number Diff line change
Expand Up @@ -528,7 +528,8 @@
(bytevector-like-set! c
(- (- i k8) 1)
(fxlogior (fxlogand c1 mask)
(fxlsh b0 (- 8 k8bits))))
(fxlogand (fxlsh b0 (- 8 k8bits))
#xff)))
(slow-loop (+ i 1)))))

(cond ((< k 0)
Expand Down

0 comments on commit 5af5135

Please sign in to comment.