summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorvlefevre <vlefevre@280ebfd0-de03-0410-8827-d642c229c3f4>2021-03-06 08:28:26 +0000
committervlefevre <vlefevre@280ebfd0-de03-0410-8827-d642c229c3f4>2021-03-06 08:28:26 +0000
commitd5c9b17d3a4e7f5fb6d8cef54b0f88f93ebc01b5 (patch)
tree80632c1ba28a4d1084869eb385c9cc30d2d3f6f7 /doc
parent970d285bb28d863849eef99457aaaf21be792128 (diff)
downloadmpfr-d5c9b17d3a4e7f5fb6d8cef54b0f88f93ebc01b5.tar.gz
Reverted r14445: This is about functions implemented as macros, and
in this case, a macro must behave like a function. In particular, each argument must be evaluated one time exactly. Macros that behave differently will need to be fixed. Tests should also be added like the one in tests/tset_si.c with the comment: /* Note: the ++'s below allow one to check that the corresponding arguments are evaluated only once by the macros. */ git-svn-id: https://scm.gforge.inria.fr/anonscm/svn/mpfr/trunk@14446 280ebfd0-de03-0410-8827-d642c229c3f4
Diffstat (limited to 'doc')
-rw-r--r--doc/mpfr.texi1
1 files changed, 0 insertions, 1 deletions
diff --git a/doc/mpfr.texi b/doc/mpfr.texi
index 612cd6a8a..424997714 100644
--- a/doc/mpfr.texi
+++ b/doc/mpfr.texi
@@ -606,7 +606,6 @@ the @code{MPFR_USE_NO_MACRO} macro before @file{mpfr.h} is included. In
general this should not be necessary, but this can be useful when debugging
user code: with some macros, the compiler may emit spurious warnings with
some warning options, and macros can prevent some prototype checking.
-Also some macros do evaluate some of their arguments multiple times.
@cindex Libraries
@cindex Linking