pspp-dev
[Top][All Lists]
Advanced

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

Re: netbsd build update


From: Ben Pfaff
Subject: Re: netbsd build update
Date: Thu, 18 May 2006 20:27:24 -0700
User-agent: Gnus/5.110004 (No Gnus v0.4) Emacs/21.4 (gnu/linux)

John Darrington <address@hidden> 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"




reply via email to

[Prev in Thread] Current Thread [Next in Thread]