https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=289232

--- Comment #7 from Dave Rivers <[email protected]> ---
Ah - yes - that's because the code I mentioned masks out every flag out of the
fp mask except the one it is reporting... (there are comments to that effect in
the source.)

If you set the mask to just FE_UNDERFLOW, you can see that FPE_FLTUND will be
correctly reported (and the #P bit will be turned off in the fp mask.)

You can test this by commenting out the line:

    feenableexcept(FE_UNDERFLOW | FE_INEXACT); 

so that the only enabled mask is FE_UNDERFLOW.

 - Dave

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to