tech-kern archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Softfloat userland needing to properly deliver SIGFPE traps



On Fri, Jan 14, 2011 at 07:14:43PM +0100, Matthias Drochner wrote:
> If you have some basic FPU available, you could just cause
> matching SIGFPEs using eg doubles. Eg assign
> HUGE_VAL*HUGE_VAL to a double, or divide a double by zero.
> The sun libm code does this in some cases.

That's certainly an option - but we still need to solve this generally
(and also making float_raise MD overridable is a bit of a pain due to
all the renaming and include magic, but of course it is possible).

Martin


Home | Main Index | Thread Index | Old Index