On Fri, Apr 23, 1999 at 08:43:23AM +0900, Daniel C. Sobral wrote:
> Gianmarco Giovannelli wrote:
> > 
> > At 02.19 23/04/99 +0900, Daniel C. Sobral wrote:
> > 
> > >FreeBSD defaults to signal floating point exceptions in case of
> > >overflow and things like that. Linux, I take it, does not.
> > >
> > >Short of correcting the program, I think there is a system wide
> > >setting to turn off floating point exceptions.
> > 
> > :-) can you input more verbosely ?
> 
> Like in, explaining what to do? :-) I don't know how to change the
> setting, I'm not even 100% sure it exists. Try listing sysctls.

If you really want to do this globally, try this patch to
src/sys/i386/include/npx.h:

--- npx.h.orig  Sun Jul 20 07:06:44 1997
+++ npx.h       Fri Jan 15 22:42:23 1999
@@ -142,5 +142,6 @@
 void   npxinit __P((int control));
 void   npxsave __P((struct save87 *addr));
 #endif
-
+#undef __INITIAL_NPXCW__
+#define __INITIAL_NPXCW__      __BETTER_BDE_NPXCW__
 #endif /* !_MACHINE_NPX_H_ */



To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message

Reply via email to