diff options
author | pelissip <pelissip@280ebfd0-de03-0410-8827-d642c229c3f4> | 2005-05-17 08:46:45 +0000 |
---|---|---|
committer | pelissip <pelissip@280ebfd0-de03-0410-8827-d642c229c3f4> | 2005-05-17 08:46:45 +0000 |
commit | f83a1a25e0980f5c030b3d19ea9671033fa955d5 (patch) | |
tree | 292e4fe3146c56c2e12e251294bc9edfd2aa7b3c /log.c | |
parent | 4ee6fd194ef47eb1e22826d3ff4e65fd23460f02 (diff) | |
download | mpfr-f83a1a25e0980f5c030b3d19ea9671033fa955d5.tar.gz |
Extract constants (__gmpfr_one, two and four) from log.c to constant.c
Fix bug in MPFR_SET_ONE.
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@3560 280ebfd0-de03-0410-8827-d642c229c3f4
Diffstat (limited to 'log.c')
-rw-r--r-- | log.c | 5 |
1 files changed, 0 insertions, 5 deletions
@@ -37,11 +37,6 @@ MA 02111-1307, USA. */ so the relative error 4/s^2 is < 4/2^p i.e. 4 ulps. */ -const mp_limb_t __gmpfr_limb1[1] = {MPFR_LIMB_HIGHBIT}; -const mpfr_t __gmpfr_one = {{2, MPFR_SIGN_POS, 1, (mp_limb_t*)__gmpfr_limb1}}; -const mpfr_t __gmpfr_two = {{2, MPFR_SIGN_POS, 2, (mp_limb_t*)__gmpfr_limb1}}; -const mpfr_t __gmpfr_four ={{2, MPFR_SIGN_POS, 3, (mp_limb_t*)__gmpfr_limb1}}; - int mpfr_log (mpfr_ptr r, mpfr_srcptr a, mp_rnd_t rnd_mode) { |