Incorrect result from integer code with MAX, type decls
Bug #2035227 reported by
Paul F. Dietz
This bug report is a duplicate of:
Bug #2035852: Incorrect value computed, nested ifs with <=, >=.
Edit
Remove
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
SBCL |
New
|
Undecided
|
Unassigned |
Bug Description
(defun bug234 ()
(let* ((vals '(-146112664905
(form '(max
(+ d d -1 8388603 -7 a 29 d b)))
(lam1
`(lambda (a b d)
(lam2
`(lambda (a b d)
(values (apply (compile nil lam1) vals)
(apply (compile nil lam2) vals))))
(bug234) ==> 882005241447441335, 5164423910675051733
x86-64, "2.3.8.
To post a comment you must log in.
Can't reproduce for some reason.