diff options
author | zimmerma <zimmerma@280ebfd0-de03-0410-8827-d642c229c3f4> | 2000-12-01 16:25:53 +0000 |
---|---|---|
committer | zimmerma <zimmerma@280ebfd0-de03-0410-8827-d642c229c3f4> | 2000-12-01 16:25:53 +0000 |
commit | 2e31bf9622d8c9c587c5769ebbd3bcf114097498 (patch) | |
tree | a94f9800429e3f8944e7339b7d4ec6b1259c5dbc /mpfr.h | |
parent | 3171d816e5803bfbac0d7cbdd5aedb6cd47760f3 (diff) | |
download | mpfr-2e31bf9622d8c9c587c5769ebbd3bcf114097498.tar.gz |
replaced log(2.0) by LOG2 [first step in getting rid of math.h]
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@822 280ebfd0-de03-0410-8827-d642c229c3f4
Diffstat (limited to 'mpfr.h')
-rw-r--r-- | mpfr.h | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -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 */ |