[Top][All Lists]

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

Re: netbsd build update

From: Jason Stover
Subject: Re: netbsd build update
Date: Thu, 18 May 2006 19:01:22 -0400
User-agent: Mutt/1.5.10i

On Thu, May 18, 2006 at 10:32:17AM -0700, Ben Pfaff wrote:
> Jason Stover <address@hidden> 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
     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?


reply via email to

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