summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorvlefevre <vlefevre@280ebfd0-de03-0410-8827-d642c229c3f4>2008-04-10 08:13:11 +0000
committervlefevre <vlefevre@280ebfd0-de03-0410-8827-d642c229c3f4>2008-04-10 08:13:11 +0000
commita498827984142d76df3c415eb10ab433cbff53f3 (patch)
tree0d2e3e01de4ffb0bedae3f67ed39bd7e65417d72
parente2075f6f36e1d6f1c1a4a9e3d49783c509089048 (diff)
downloadmpfr-a498827984142d76df3c415eb10ab433cbff53f3.tar.gz
INSTALL: added a paragraph about -ffast-math / -fast compiler options.
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@5351 280ebfd0-de03-0410-8827-d642c229c3f4
-rw-r--r--INSTALL6
1 files changed, 6 insertions, 0 deletions
diff --git a/INSTALL b/INSTALL
index e73a5871e..05cd2b11d 100644
--- a/INSTALL
+++ b/INSTALL
@@ -151,6 +151,12 @@ and continue the install. On some platforms, you should provide further
options to match those used by GMP, or set some environment variables.
For instance, see the "Notes on AIX/PowerPC" section below.
+Warning! Do NOT use optimization options that can change the semantics
+of math operations, such as GCC's -ffast-math or Sun CC's -fast.
+Otherwise conversions from/to double's may be incorrect on infinities
+and NaN's. Since native FP arithmetic is used in a few places only,
+such options would not make MPFR faster anyway.
+
On some platforms, try with "gmake" (GNU make) instead of "make".
Problems have been reported with the Tru64 make.