Subject: Re: SIGFPE?
To: None <rauch@eecs.ukans.edu>
From: Ross Harvey <ross@ghs.com>
List: netbsd-help
Date: 05/04/2001 14:05:39
> From: Richard Rauch <rauch@eecs.ukans.edu>
>
> [...]
> > Actually, you can get the SIGFPE, but you must enable it. See below.
> [...]
> > No, it's not a documentation error, you just haven't looked in the right
> > place and no one has yet referred you to it. You need to see:
> >
> > fp{get,set}{mask,round,sticky}(3)
>
> Ah... Thanks.
>
>
> > (They are all the same page.) These will work on every NetBSD port except
> > vax, I think, but they aren't portable to other systems except Sun and
> > Sun-compatible ones.
> [...]
> > For that matter, IEEE 754 has gone 20 years without a standardized API.
> > (And hence, has gone 20 years without being used by any portable program.)
> > C99 has now defined a standard floating environment, and NetBSD will be
> > supporting it soon.
>
> What does the C99 standard say about these?
I'm not sure what you mean by "these". If you mean "what does C99 say
about fpsetmask(3), et al", the answer is: nothing, they are not in the
standard. If you mean "what does C99 say about the new standardized fp
environment", that's kind of beyond the scope of netbsd-help, but we
will have man pages when the API is ready.
> Will the NetBSD signal man pages be updated at the same time?
Naturally, and in the meantime I have tweaked signal(7) to xref
fp{get,set}mask(3).
//