Incorrect improper argument number error in compiled code (random tester)
Bug #1731975 reported by
Paul F. Dietz
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
SBCL |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
(defun f16 (b)
(declare (type (integer -19783977 -14446514) b))
(ceiling 0 (min -90 (- b (mod (complex b 0) (min -30 0))))))
(f16 -18884888)
==>
invalid number of arguments: -18884888
Changed in sbcl: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Reduced the integers:
(defun f16b (b)
(declare (type (integer -62 -61) b))
(ceiling 0 (min -90 (- b (mod (complex b 0) (min -30 0))))))
(f16b -61) ==> invalid number of arguments: -61
Increasing the upper bound to -60 makes the bug disappear.