From: ellson Date: Fri, 28 Jan 2005 16:29:50 +0000 (+0000) Subject: "fesetenv (FE_NONIEEE_ENV);" seems to help a lot. X-Git-Tag: LAST_LIBGRAPH~32^2~7984 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=7944e991c5d3139c5da818faeb4032eeb07aa8dd;p=graphviz "fesetenv (FE_NONIEEE_ENV);" seems to help a lot. --- diff --git a/cmd/dot/dot.c b/cmd/dot/dot.c index f1dc477f7..b2c04c2a0 100644 --- a/cmd/dot/dot.c +++ b/cmd/dot/dot.c @@ -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