On Thu, May 18, 2006 at 10:32:17AM -0700, Ben Pfaff wrote:
> Jason Stover <[EMAIL PROTECTED]> writes:
> 
> > None of these seem to be defined on NetBSD. I couldn't see any of them
> > in /usr/include, and adding an assert(0) in the #if and #elif
> > statements above didn't cause a failure.
> 
> Does NetBSD have fpsetmask() declared in ieeefp.h?  That seems to
> be another alternative.

No. In fact:

$ find /usr/include -name '*.h' |xargs grep fpe
$

...but I did find these on a man page:

    fpgetmask, fpgetround, fpgetsticky, fpsetmask, fpsetround, fpsetsticky
 
    fp_except
     fpsetmask(fp_except mask);

     The fpsetmask() function will cause future operations with the specified
     result status to raise the SIGFPE exception.  The fpsetround() function
     will cause future operations to use the specified dynamic mode.

Do you mean to put this into fp_init() in main.c with on #if?

-Jason


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

Reply via email to