Incorrect value computed in case #5

Bug #2058347 reported by Paul F. Dietz
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
SBCL
Fix Released
Undecided
Unassigned

Bug Description

(defun f363 (a c)
  (declare (type (integer -33858777614780 30667847479992) a))
  (case (ceiling 3 (min -24 a))
    ((3) :bad1)
    ((4) :bad2)
    ((1 0 -1) c)
    (t :bad3)))

(defun bug363 ()
  (values (ceiling 3 -100)
          (f363 -100 :good)))

(bug363) ==> 0, :BAD2

x86-64, "2.4.2.216-82fdcdd87"

Stas Boukarev (stassats)
Changed in sbcl:
status: New → Fix Released
summary: - Incorrect value computer in case #5
+ Incorrect value computed in case #5
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.