Hi,
Attached is a patch to use si_code in siginfo to detect why SIGFPE
occured. Although the patch is for FreeBSD because I tested only on
FreeBSD, I think any OSes that have no working context-floating-modes
can use the patch.
Thanks,
--
NIIMI Satoshi

I've made a preliminary framefork for internals documentation.
http://random-state.net/tmp/sbcl-internals.tar.gz
contains internals/ directory that I propose for addition as
doc/internals.
make info / pdf
builds an internals manual composed of all the texinfo files in the
directory: the idea, as discussed on #lisp is that adding new bits and
pieces is made as painless as possible: just adding new file
foo.texinfo
containing
@node Foo
Text for Foo.
is enough, as the toplevel menu is autogenerated.
Yay or nay, or something totally different?
Cheers,
-- Nikodemus Schemer: "Buddha is small, clean, and serious."
Lispnik: "Buddha is big, has hairy armpits, and laughs."