Please forgive me if this is not the right place to send help requests
--- I see it is a devel mailing list, but I could not find a
slime-user or slime-help list.
I am experiencing odd behavior using SLIME with CMUCL. It seems that
a call to ext:set-floating-point-modes is failing to set the modes
correctly. From within SLIME, I have the following interaction:
CL-USER> (ext:get-floating-point-modes)
(:TRAPS (:OVERFLOW :INVALID :DIVIDE-BY-ZERO) :ROUNDING-MODE :NEAREST
:CURRENT-EXCEPTIONS NIL :ACCRUED-EXCEPTIONS NIL :FAST-MODE NIL
:PRECISION-CONTROL :64-BIT)
CL-USER> (ext:set-floating-point-modes :traps nil)
; No value
CL-USER> (ext:get-floating-point-modes)
(:TRAPS (:OVERFLOW :INVALID :DIVIDE-BY-ZERO) :ROUNDING-MODE :NEAREST
:CURRENT-EXCEPTIONS NIL :ACCRUED-EXCEPTIONS NIL :FAST-MODE NIL
:PRECISION-CONTROL :64-BIT)
In contrast, if I start CMUCL from a terminal (same version, running
my own init file in both cases), I get:
* (ext:get-floating-point-modes)
(:TRAPS (:OVERFLOW :INVALID :DIVIDE-BY-ZERO) :ROUNDING-MODE :NEAREST
:CURRENT-EXCEPTIONS NIL :ACCRUED-EXCEPTIONS NIL :FAST-MODE NIL
:PRECISION-CONTROL :64-BIT)
* (ext:set-floating-point-modes :traps nil)
* (ext:get-floating-point-modes)
(:TRAPS NIL :ROUNDING-MODE :NEAREST :CURRENT-EXCEPTIONS NIL :ACCRUED-EXCEPTIONS
NIL :FAST-MODE NIL :PRECISION-CONTROL :64-BIT)
*
I've observed this behavior with at least two versions of SLIME (one
from a couple months ago, and downloaded on 04-28-2004 from CVS), and
at least two versions of CMUCL (an 11-2003 snapshot and an 04-2004
snapshot). I seem to recall that when I *first* installed the 04-2004
snapshot it worked OK, and only on all subsequent invocations has it
failed, but my memory could be faulty on this point.
Any ideas or help would be most appreciated. I definitely need to be
able to set the floating-point-mode for what I'm trying to do.
Cheers,
rif