John Darrington <[EMAIL PROTECTED]> writes:

> On Thu, May 18, 2006 at 05:25:04PM -0700, Ben Pfaff wrote:
>      
>      Yes.  I want to call fpsetmask(0) in fp_init().  (The numerous
>      manpages that Google returns for fpsetmask() seem to indicate
>      that this is the syntax to turn off all exceptions, and they all
>      indicate that <ieeefp.h> is the right header to include.)
>
> I'm not sure that it might not be a better idea to catch SIGFPE and
> issue a warning message, and then continue.

Why?

Furthermore, I doubt it's possible portably.  I suspect that some
CPUs will in fact retry the instruction and fault again in a loop.
-- 
"Implementation details are beyond the scope of the Java virtual
 machine specification.  One should not assume that every virtual
 machine implementation contains a giant squid."
--"Mr. Bunny's Big Cup o' Java"


_______________________________________________
pspp-dev mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/pspp-dev

Reply via email to