summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
Diffstat (limited to 'doc')
-rw-r--r--doc/README.dev5
1 files changed, 5 insertions, 0 deletions
diff --git a/doc/README.dev b/doc/README.dev
index 03f603275..05fd8d056 100644
--- a/doc/README.dev
+++ b/doc/README.dev
@@ -969,6 +969,11 @@ and the exact behavior may change in the future. So, it is not correct
to multiply ternary values returned by arbitrary functions as this may
overflow.
+To work with ternary values, mpfr-impl.h provides the following macros:
+
+#define SIGN(I) ((I) < 0 ? -1 : (I) > 0)
+#define SAME_SIGN(I1,I2) (SIGN (I1) == SIGN (I2))
+
===========================================================================
Because of a bug in the Mac OS X 10.5 linker, avoid tentative definitions