fxbit-set? has a new definition

Bug #886314 reported by Gwen Weinholt
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ikarus Scheme
New
Undecided
Unassigned

Bug Description

The errata for R6RS corrects the definition of fxbit-set? in this way:

#|
In the specification of fxbit-set?, the sentence

"Fx2 must be non-negative and less than (fixnum-width)."
should be replaced by

"Fx2 must be non-negative."
Also, the code describing its computation should be changed to:

(if (fx>= fx2 (fx- (fixnum-width) 1))
    (fxnegative? fx1)
    (not
      (fxzero?
         (fxand fx1
                (fxarithmetic-shift-left 1 fx2)))))
|#

Ikarus still uses the old definition and raises an exception if fx2 is (fixnum-width) or greater.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.