--- main.c.orig	Thu Dec 17 05:10:26 1998
+++ main.c	Fri Jan  1 13:55:58 1999
@@ -32,6 +32,8 @@
 
 #include <gnome.h>
 
+#include <floatingpoint.h>
+
 #include <glibtop/close.h>
 
 #include <assert.h>
@@ -149,6 +151,8 @@
 	poptContext ctx;
 	char **args;
 
+	fpsetmask (fpgetmask() & ~(FP_X_DZ|FP_X_INV));
+	
 	bindtextdomain (PACKAGE, GNOMELOCALEDIR);
 	textdomain (PACKAGE);
 
@@ -256,6 +260,9 @@
         gtk_main ();
 
 	glibtop_close ();
-        
+
+	fpresetsticky (FP_X_DZ|FP_X_INV);
+	fpsetmask (FP_X_DZ|FP_X_INV);
+
         return 0;
 }
