diff options
author | vlefevre <vlefevre@280ebfd0-de03-0410-8827-d642c229c3f4> | 2014-01-29 23:43:47 +0000 |
---|---|---|
committer | vlefevre <vlefevre@280ebfd0-de03-0410-8827-d642c229c3f4> | 2014-01-29 23:43:47 +0000 |
commit | 2da0783d9f5d4124e0efea3de55384408e47937d (patch) | |
tree | d8cb9dddf51685b7026529de671a5d8a4fd6c663 /src/mpfr-impl.h | |
parent | f027fb01c44b45faac26db2fd79d4920fc7ea254 (diff) | |
download | mpfr-2da0783d9f5d4124e0efea3de55384408e47937d.tar.gz |
[src] Add constants:
* __gmpfr_mone = -1
* mpfr_const_log2_RNDD = log(2) rounded down in precision 64 bits
* mpfr_const_log2_RNDU = log(2) rounded up in precision 64 bits
(modified patch from Patrick PĂ©lissier).
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@8913 280ebfd0-de03-0410-8827-d642c229c3f4
Diffstat (limited to 'src/mpfr-impl.h')
-rw-r--r-- | src/mpfr-impl.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mpfr-impl.h b/src/mpfr-impl.h index 77ea752f6..569bb8336 100644 --- a/src/mpfr-impl.h +++ b/src/mpfr-impl.h @@ -249,6 +249,9 @@ __MPFR_DECLSPEC extern const __mpfr_struct __gmpfr_l2b[BASE_MAX-1][2]; __MPFR_DECLSPEC extern const mpfr_t __gmpfr_one; __MPFR_DECLSPEC extern const mpfr_t __gmpfr_two; __MPFR_DECLSPEC extern const mpfr_t __gmpfr_four; +__MPFR_DECLSPEC extern const mpfr_t __gmpfr_mone; +__MPFR_DECLSPEC extern const mpfr_t __gmpfr_const_log2_RNDD; +__MPFR_DECLSPEC extern const mpfr_t __gmpfr_const_log2_RNDU; #if defined (__cplusplus) |