Re: Floating point exceptions.

2000-03-21 Thread Garrett Wollman
< said: > fpsetmask(3) also exists on Solaris. fpsetmask(3) was copied from System V. -GAWollman -- Garrett A. Wollman | O Siem / We are all family / O Siem / We're all the same [EMAIL PROTECTED] | O Siem / The fires of freedom Opinions not those of| Dance in the burning flame MIT, LCS, CR

Re: Floating point exceptions.

2000-03-21 Thread Matthew Hunt
On Tue, Mar 21, 2000 at 10:28:43AM +0100, Martin Cracauer wrote: > FreeBSD's fpsetmask(3) stuff is simple inline assembler that I > personally used in Linux, it should be relativly easy to carry it > around with your application on i386 machines. fpsetmask(3) also exists on Solaris. -- Matthew

Re: Floating point exceptions.

2000-03-21 Thread Bruce Evans
On Tue, 21 Mar 2000, David Malone wrote: > Is there a way of setting the control word which is in any sense > portable? Most machines I've looked at seem to have no documented > way of setting what exceptions should be masked, and each one that > does has a different set of calls. No. C99 provi

Re: Floating point exceptions.

2000-03-21 Thread Brad Knowles
At 10:28 AM +0100 2000/3/21, Martin Cracauer wrote: > It is an i386 assembler instruction. Obviously, operating system > vendors thought it's not their business, but the compiler's. > Unfortunately, gcc doesn't care (although most other native compilers > like SRC m3, CMUCL, SML/NJ do).

Re: Floating point exceptions.

2000-03-21 Thread Martin Cracauer
In <[EMAIL PROTECTED]>, David Malone wrote: > > > There was a discussion on one of the list about what to do for > > > floating point excpetions recently, and I thought people decided > > > that causing a signal by default was a right thing? > > > > The outcome was that applications that care mu

Re: Floating point exceptions.

2000-03-21 Thread David Malone
> > There was a discussion on one of the list about what to do for > > floating point excpetions recently, and I thought people decided > > that causing a signal by default was a right thing? > > The outcome was that applications that care must set the control word > themself and that we go the w

Re: Floating point exceptions.

2000-03-21 Thread Martin Cracauer
In <[EMAIL PROTECTED]>, David Malone wrote: > Floating point exceptions seem to have been turned off by default: [...] > There was a discussion on one of the list about what to do for > floating point excpetions recently, and I thought people decided > that causing a signal by default was a right