summaryrefslogtreecommitdiff
path: root/mpfr.h
diff options
context:
space:
mode:
Diffstat (limited to 'mpfr.h')
-rw-r--r--mpfr.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/mpfr.h b/mpfr.h
index 646db892d..11132f449 100644
--- a/mpfr.h
+++ b/mpfr.h
@@ -36,6 +36,10 @@ MA 02111-1307, USA. */
#define GMP_RNDU 2
#define GMP_RNDD 3
+/* Definition of constants */
+
+#define LOG2 0.69314718055994528622 /* log(2) rounded to zero on 53 bits */
+
/* Definitions of types and their semantics */
typedef unsigned long int mp_prec_t; /* easy to change if necessary */