[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
I DON'T BELIEVE IT !!!
- Subject: I DON'T BELIEVE IT !!!
- From: David C. Plummer <DCP at MIT-MC>
- Date: Sun, 18 Jan 81 17:20:00 GMT
- Cc: BUG-LISP at MIT-MC
- Original-date: 18 January 1981 12:20-EST
Will somebody please fix this compiler bug. IT REALLY IS A BUG,
ISN'T IT?
(defun foo (n)
(print (eval `(- ,n #/A -13)))
(print (eval `(+ (- ,n #/A) 13)))
(print (- n #/A -13))
(print (+ (- n #/A) 13)))
(defun foo$ (n)
(print (eval `(-$ ,n 101.0 -13.0)))
(print (eval `(+$ (-$ ,n 101.0) 13.0)))
(print (-$ n 101.0 -13.0))
(print (+$ (-$ n 101.0) 13.0)))
(foo 101) is ok
(foo 102) is not ok
(foo$ 101.0) is ok
(foo$ 102.0) is not ok
Please???