]> granicus.if.org Git - graphviz/commitdiff
"fesetenv (FE_NONIEEE_ENV);" seems to help a lot.
authorellson <devnull@localhost>
Fri, 28 Jan 2005 16:29:50 +0000 (16:29 +0000)
committerellson <devnull@localhost>
Fri, 28 Jan 2005 16:29:50 +0000 (16:29 +0000)
cmd/dot/dot.c

index f1dc477f73b1a7e13946fe371d3f99869549d89f..b2c04c2a0be2580bdbac54466fdb21dbb34dd689 100644 (file)
@@ -81,6 +81,9 @@ static void fpinit()
     exc |= FE_INVALID;
 # endif
     feenableexcept(exc);
+
+    fesetenv (FE_NONIEEE_ENV);
+
 #elif  HAVE_FPU_CONTROL_H
     /* On s390-ibm-linux, the header exists, but the definitions
      * of the masks do not.  I assume this is temporary, but until