On Sun, 19 Jun 2005, NIIMI Satoshi wrote:
> 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.
I'm relatively clueless on the FP modes, but the idea of doing this stuff
via something at least theoretically portable is definitely appealing to
Does this address specific #BUGS, test-cases broken on current FreeBSD (4
or 5?), or do you have new test-cases for this code?
-- Nikodemus Schemer: "Buddha is small, clean, and serious."
Lispnik: "Buddha is big, has hairy armpits, and laughs."